Files
consumocuidado-server/README.md
2021-01-25 14:11:41 +01:00

30 lines
690 B
Markdown

# LaTiendaCOOP backend
This README aims to document functionality of backend as well as required steps to get it up and running.
## Table of Contents
- [First Steps](#first-steps)
- [Location Data](#location-data)
## First Steps
- Clone repository:
`git clone git@bitbucket.org:enreda/back-latienda.git`
- Create file `.env` from `example.env` and populate fields correctly
From inside the project's folder:
- Make migrations:
```
python manage.py makemigrations core geo companies products history stats
python manage.py migrate
```
- Start server in development mode: `python manage.py runserver`
## Location data
To load initial location data use: `python manage.py addgeo`