Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
MetaGer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
open-source
MetaGer
Commits
40a99324
Commit
40a99324
authored
Sep 21, 2018
by
Phil Höfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix database error when using Docker
parent
c068cd50
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
.env.example
.env.example
+0
-7
Dockerfile
Dockerfile
+2
-1
resources/views/index.blade.php
resources/views/index.blade.php
+7
-5
No files found.
.env.example
View file @
40a99324
...
...
@@ -4,13 +4,6 @@ APP_LOG_LEVEL=debug
APP_KEY=
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
...
...
Dockerfile
View file @
40a99324
...
...
@@ -14,13 +14,14 @@ RUN apt-get update && apt-get install -y \
sqlite3
\
nodejs
\
libpng-dev
\
unzip
\
npm
RUN
npm
install
gulp
-g
COPY
. /app
WORKDIR
app
RUN
mv
config/sumas.xml.example config/sumas.xml
&&
mv
.env.example .env
RUN
composer
install
RUN
composer
install
--no-plugins
--no-scripts
RUN
npm
install
RUN
npm run dev
...
...
resources/views/index.blade.php
View file @
40a99324
...
...
@@ -25,11 +25,13 @@
<
div
id
=
"sponsors"
>
<
h2
>
{{
trans
(
'index.sponsors.head.2'
)
}}
</
h2
>
<
ul
class
=
"startpage"
>
@
if
(
getenv
(
'DB_CONNECTION'
)
===
'mysql'
)
@
foreach
(
DB
::
table
(
'sponsorenlinks'
)
->
where
(
'langcode'
,
'de'
)
->
orderByRaw
(
'LENGTH(linktext)'
,
'ASC'
)
->
get
()
as
$link
)
<
li
class
=
"sponsor"
>
<
a
href
=
"{{
$link->link
}}"
target
=
"_blank"
rel
=
"noopener"
><
p
>
{{
$link
->
linktext
}}
</
p
>
<
i
class
=
"fa fa-external-link"
></
i
></
a
>
</
li
>
@
endforeach
@
endif
</
ul
>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment