- Clone this repository
git clone https://github.com/nimadorostkar/copy-assist.git
- Install dependencies
pip install -r requirements/requirements.txt
-
Make .env file (use either prod.env.template or dev.env.template to create .env file)
-
Run the following commands to get started (Development)
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
-
Make sure you have Postgredb running (Production)
-
you can run them manually, after the containers spin up, like so:
docker-compose exec web python manage.py makemigrations
docker-compose exec web python manage.py migrate
docker exec -it container_id python manage.py createsuperuser
- Build the image and spin up the two containers
docker-compose up -d --build
enjoy!