HSSE_APIv2
HSSE API Made With Django Rest Framework And Postgresql
--- hola
Requirements
- Install Python 3.X
- Install Anaconda
- Install Postgresql
- Open up your terminal
- Create environment
conda new -h ENVIRONMENT_NAME python=3.X
- Activate New Environment
activate ENVIRONMENT_NAME
- Install all the requirements
pip install -r requirements.txt
- Run migrations
python manage.py migrate
- Seed the database NOTE: You should have the DB created by now
python manage.py loaddata sites_data.json
- Run the server and enjoy
python manage.py runserver