Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SMASCH
scheduling-system
Commits
acde7ef7
Commit
acde7ef7
authored
4 years ago
by
Jacek Lebioda
Browse files
Options
Downloads
Patches
Plain Diff
feat: docker-compose fixed
parent
3f58f45d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!261
Python3 translation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+7
-5
7 additions, 5 deletions
docker-compose.yml
readme.md
+12
-1
12 additions, 1 deletion
readme.md
with
19 additions
and
6 deletions
docker-compose.yml
+
7
−
5
View file @
acde7ef7
...
...
@@ -19,15 +19,17 @@ services:
&& python manage.py migrate
&& python manage.py migrate sessions
&& python manage.py collectstatic --noinput
&& python manage.py test -v3"
# && python manage.py runserver 0.0.0.0:8002 --verbosity 3"
# && gunicorn -b 0.0.0.0:8002 smash.wsgi:application --access-logfile access.log --error-logfile error.log"
# && python manage.py runserver 0.0.0.0:8002 --verbosity
3
&& echo && echo && echo 'The server will start now...'
&& gunicorn -b 0.0.0.0:8002 smash.wsgi:application --access-logfile access.log --error-logfile error.log"
### To run the server through manage.py, use
:
# && python manage.py runserver 0.0.0.0:8002"
### To run the verbose tests, uncomment:
# python manage.py test -v3"
command
:
"
"
ports
:
-
"
8002:8002"
volumes
:
-
static_files:/static/
-
static_files:/
tmp/
static/
depends_on
:
-
postgres
nginx
:
...
...
This diff is collapsed.
Click to expand it.
readme.md
+
12
−
1
View file @
acde7ef7
# SMart SCHeduling
[

](https://git-r3lab.uni.lu/piotr.atyjaszyk/scheduling-system/commits/master)
[

](https://git-r3lab.uni.lu/NCER-PD/scheduling-system/commits/master)
## Docker version
If you'd like to try out the application without preparing the environment, you can use Docker (you must have _Docker_ and _docker-compose_ installed):
```
# Navigate to the project's directory
docker-compose build && docker-compose up
# To add a new user, type in the new terminal:
docker-compose exec web sh
python manage.py createsuperuser
```
## Required software (on ubuntu's OS family):
-
`sudo apt-get install libpq-dev python-dev postgresql postgresql-contrib python virtualenv python-virtualenv gcc python-lxml libxml2-dev libcurl4-openssl-dev`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment