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
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
go
Commits
022cdfef
Commit
022cdfef
authored
Nov 05, 2016
by
mdsecurity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed docker-compose
parent
e45e689f
Pipeline
#429
passed with stage
in 7 minutes and 9 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile
Dockerfile
+1
-1
docker-compose.yml
docker-compose.yml
+1
-1
startup.sh
startup.sh
+2
-2
No files found.
Dockerfile
View file @
022cdfef
...
...
@@ -12,4 +12,4 @@ RUN apt-get install libldap2-dev -y
RUN
apt-get
install
RUN
pip
install
-r
requirements.txt
ADD
. /go/
CMD
./startup.sh
docker-compose.yml
View file @
022cdfef
...
...
@@ -4,7 +4,7 @@ services:
build
:
.
ports
:
-
"
8000:8000"
command
:
python go/manage.py runserver 0.0.0.0:8000
command
:
/bin/bash ./startup.sh
#
python go/manage.py runserver 0.0.0.0:8000
volumes
:
-
.:/go
depends_on
:
...
...
startup.sh
View file @
022cdfef
python go/manage.py runserver 0.0.0.0:8000
python go/manage.py flush
--no-input
python go/manage.py makemigrations
python go/manage.py makemigrations go
python go/manage.py migrate
python go/manage.py createsuperuser
--noinput
--username
=
dhaynes3
--email
=
dhaynes3@masonlive.gmu.edu
#echo "from django.contrib.auth.models import User; User.objects.create_superuser('dhaynes3', 'admin@example.com', 'pass')" | python manage.py shell
# #echo "from django.contrib.auth.models import User; User.objects.create_superuser('dhaynes3', 'admin@example.com', 'pass')" | python manage.py shell
python go/manage.py runserver 0.0.0.0:8000
\ No newline at end of file
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