- Install
docker
anddocker-compose
correctly.
- Setup python
$ virtualenv -p python3 env
$ source env/bin/activate
$ pip install -r requirments.txt
If on Mac or Windows the container will run on Docker Machine which is a virtual machine, and will have its own ip address. You could rundocker-machine ip
to check the address, and such address will used to access the front end. However, on Linux, you could simplly access localhost
.
If using you will need sudo
to run the following command.
$ docker-compose up
docker-compose run web python manage.py migrate
- persist data in a dockerized postgres database using volumes
- django-restful doc
- remove 'ADD' on setting page
- [ ]