REST API Backend for the civicideahubV2 project. The foundation for this API followed the approach highlighted in this TDD driven tutorial.
- Install Python 3 if you haven't already
- In root directory, run theses terminal commands
virtualenv -p /usr/local/bin/python3 venv
source venv/bin/activate
- Change to the ideahubrest directory (cd ideahubrest/)
- Start the dev server
python3 manage.py runserver
- Update model (If you make changes to models.py)
python3 manage.py makemigration
python3 manage.py migrate
- Validate tests
python3 manage.py test