This repository provides a central location that contains sub-modules related to the programmatic environment for the building a server lab in CYBR 8470.
- Docker (https://www.docker.com/)
You need to build the docker image from the provided DockerFile using Docker Compose. To do this, ensure docker is running, and then:
git clone --recursive https://github.com/MLHale/CYBR8470-building-a-webservice-lab.git
cd CYBR8470-building-a-webservice-lab
docker-compose build
This creates a few docker containers with all of the requisite installed dependencies to run the dev environment.
First, upon initial install, you need to do some basic setup.
We need to initialize the Django database in postgres
docker-compose run django bash
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser --username admin --email admin
exit
Specify a password for admin. In development, use admin1234 for simplicity.
docker-compose up