diff --git a/.gitignore b/.gitignore index a630c4f..aa7ea9b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,9 @@ # environment variables .env +# virtual env +venv/ + # Migrations **/migrations diff --git a/README.md b/README.md index d41beae..0eae9de 100644 --- a/README.md +++ b/README.md @@ -10,20 +10,20 @@ This README aims to document functionality of backend as well as required steps ## First Steps - Clone repository: -`git clone git@bitbucket.org:enreda/back-latienda.git` + `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 migrate ``` -- Start server in development mode: `python manage.py runserver` +- Start server in development mode: `python manage.py runserver` ## Location data To load initial location data use: `python manage.py addgeo` - -