Dev-RK
Docker image to set up dev environment for RescueKerala
To build the image (from the directory containing the docker file):
docker build -t image-name .
To run the image :
docker run --rm -it -p 8000:8000 image-name /bin/bash
From the shell do the following steps:
- /etc/init.d/postgresql start
- cp .env.example .env
- python3 manage.py migrate
- python3 manage.py collectstatic
- python3 manage.py runserver