- Python
3.6
- Postgress
Latest
- Nginx
Latest
- Redis
Latest
While doing docker up, it will automatically install other python dependencies from requirements.txt file
- Make sure you have
docker
&docker-compose
installed on your local - Clone this repo on your machine
- First run
make build
inside root directory. - Then run
make up
to start up the project for first time. - Project should be accessible on
localhost:8000
Checkout the commands for more usage.
To use this project efficiently, below commands are available:
make up
to build the project and starting containers.make build
to build the project.make start
to start containers if project has been up already.make stop
to stop containers.make shell-web
to shell access web container.make shell-db
to shell access db container.make shell-nginx
to shell access nginx container.make logs-web
to log access web container.make logs-db
to log access db container.make logs-nginx
to log access nginx container.make collectstatic
to put static files in static directory.make log-web
to log access web container.make log-db
to log access db container.make log-nginx
to log access nginx container.make restart
to restart containers.