- Before starting make sure you have
git
installed on your system. - The project uses postgres and gdal libraries. In order to install them on your system follow the instructions here.
- Once you have setup
postgres
make sure you create an extension in your database such aspsql -d <database_name> -c "CREATE EXTENSION postgis;
- The following project uses PSQL >= 11
- To get more insight about the project and development refer to the project wiki here
- Clone the repo on your system
- For e.g sake we are using
postgres
as the database but you can configure other db's also - Once you've cloned the repo, activate your
virtualenv
- Install
pip install -r requirements/development.txt
file while you are in dev mode - Take a look at the
.env.sample
file and fill the values as per your requirement. - Once the setup is completed, run migration
python manage.py migrate
. - Once this is done create superuser :
python manage.py createsuperuser
- In case you want to create some dummy data and profiles you can use the following commands
python manage.py create_restaurant
python manage.py create_profile
- Run the app :
python manage.py runserver