Skip to content
This repository has been archived by the owner on Dec 14, 2019. It is now read-only.

Latest commit

 

History

History
27 lines (24 loc) · 826 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 826 Bytes

Civicideahub Backend

REST API Backend for the civicideahubV2 project. The foundation for this API followed the approach highlighted in this TDD driven tutorial.

Installation & Server Initialization

  1. Install Python 3 if you haven't already
  2. In root directory, run theses terminal commands
virtualenv -p /usr/local/bin/python3 venv
source venv/bin/activate
  1. Change to the ideahubrest directory (cd ideahubrest/)
  2. Start the dev server
python3 manage.py runserver

Helpful Commands

  1. Update model (If you make changes to models.py)
python3 manage.py makemigration
python3 manage.py migrate
  1. Validate tests
python3 manage.py test