- Python 3.10
- PostgreSQL
git clone -b dev git@github.com:Space-DF/dashboard-service.git
git clone -b dev git@github.com:Space-DF/django-common-utils.git
-
Install requirements
pip install -r requirements.txt -
Run RabbitMQ broker
docker run -d --name some-rabbit -p 5672:5672 -p 5673:5673 -p 15672:15672 rabbitmq:3-management -
Init .env
cp .env.example .env -
Migrate
python manage.py migrate -
Create testing organization
python manage.py create_organization -
Create testing space
python manage.py create_space
-
Run server
python manage.py runserver 8000 -
The API documentation will be served on http://.localhost:8000.
When you make the change for the database model
- Make migration file
python manage.py makemigrations - Migrate
python manage.py migrate_schemas
Licensed under the Apache License, Version 2.0
See the LICENSE file for details.
