Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
adega
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
64
Issues
64
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
adega
adega
Commits
623e4f10
Commit
623e4f10
authored
Jun 26, 2018
by
bhm15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#121
: Fix docker bugs
parent
dfae24b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
docker_scripts/on_docker_init.sh
docker_scripts/on_docker_init.sh
+4
-2
makefile
makefile
+1
-1
No files found.
docker_scripts/on_docker_init.sh
View file @
623e4f10
# This commands will be run inside of the container web
# If ANY of this commands fails (return != 0) the container will be down
bash ./docker_scripts/wait_for_postgres.sh
python ./src/manage.py migrate
python ./src/manage.py runserver 0.0.0.0:8000
cd
src
python manage.py makemigrations degree admission educator uploads
python manage.py migrate
python manage.py runserver 0.0.0.0:8000
makefile
View file @
623e4f10
...
...
@@ -65,6 +65,6 @@ args = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`
docker-manage
:
@
echo
$(
call
args,
""
)
docker
exec
-it
adega_web_1
python3 ./src/manage.py
$(
call
args,
""
)
docker
exec
-it
adega_web_1
bash
-c
"cd src; python3 manage.py
$(
call
args,''
)
"
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