admin/admin
- Administrator
user/user
- Regular user
user2/user2
- Regular user
angular_src
- sources for frontend
angular_dist
- compiled and webpacked frontend files
web_auction
- Django project settings
auction
- Django application
Dockerfile
- setups Django service
docker-compose.yml
- runs Django and PostgreSQL
entrypoint.sh
- runs Django migrations before Django starts
-
Install Docker.
-
Before cloning git repository, set git config option
core.autocrlf=false
. -
Move to project folder:
$ cd <your_git_clone_folder_path>/web_auction
- Check ip address for web service:
$ docker-machine ip default
- Build and run Docker container:
$ docker-compose build
$ docker-compose up
- Open ip address (from step 4) in browser with port 8000. For example, in Windows:
192.168.99.100:8000