Stages | Status |
---|---|
Production | |
Staging | |
Development |
-
Clone this repository
-
Install docker and docker-compose in your system. Docker Refrence Ubuntu
-
Create a symlink with name docker-compose.yml to docker-compose.local.yml
ln -s docker-compose.yml docker-compose.local.yml
-
Rename .env_sample to .env and change it settings accordingly for the project
-
Inside dvs folder rename local_settings_sample.py to local_settings.py and change it settings accordingly for the project
-
Bulid docker image
docker-compose build
- Run external services
docker-compose -f external_services.yml up -d
- Run the project in docker
docker-compose up -d
Note: for logs run docker-compose logs -f --tail 100 check docker container status docker ps / docker ps -a