Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 942 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 942 Bytes

hetmech backend

CircleCI

Environment

This repository uses conda to manage its environment as specified in environment.yml. Install the environment with:

conda env create --file=environment.yml

Then use conda activate hetmech-backend and conda deactivate to activate or deactivate the environment.

Database

This project uses a PostgreSQL database. Currently, the database is configured for development, and is run via Docker:

# https://docs.docker.com/samples/library/postgres/
docker run \
  --name dj_hetmech_db \
  --env POSTGRES_DB=dj_hetmech \
  --env POSTGRES_USER=dj_hetmech \
  --env POSTGRES_PASSWORD=not_secure \
  --volume `pwd`/database:/var/lib/postgresql/data \
  --publish 5432:5432 \
  --detach \
  postgres:11.1