The backend application for the Exam Analyser app built using Django, Django Rest Framework & Docker. The application is designed in a detached approach and communicates to the frontend using REST API's.
- Docker & Docker Compose
- Python3 & Pip3
- Virtualenv
- Clone the repository and cd to the project root.
cp -r .envs.example/ .envs/
and set the necessary values.
- Create a virtual environment in the project root using
virtualenv -p python3 venv
. - Activate the environment.
- Install the packages inside
requirements.txt
file. docker-compose -f local.yml up
.- Use your text editor, preferably pycharm.
- Init the staging deployment build
sudo ./scripts/init-docker-staging-nginx-ssl.sh
. - Use
docker-compose
to run all the servicesdocker-compose -f staging-nginx-ssl.yml up
. - Visit
www.example.com
.
- For more docs, visit the
docs/
folder. - The
./scripts/
folder contains some useful script files. - For running other Django commands use
docker-compose -f <compose_file> run <container_name> <command>
.