These instructions will give you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on deploying the project on a live system.
Clone the repository to your local machine
git clone https://github.com/singsaker/intern.git
Create /backend/.env.development
SECRET_KEY=<INSERT_DJANGO_SECRET_KEY>
Build Docker images
docker compose build
Run project
docker compose up
docker compose exec backend python manage.py makemigrations
docker compose exec backend python manage.py migrate
Load initial data
docker compose exec backend python manage.py loaddata initial_data
docker compose exec backend python manage.py loaddata members
This command pushes initial data from fixtures and default superuser:
Username | Password |
---|---|
admin | password |
Backend admin is accessed at localhost:8000/admin
with graphQL endpoint localhost:8000/graphql
. Frontend runs on localhost:3000