aniketmaithani / mydineout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mydineout

Build Status

codecov

Getting started

  • 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 as psql -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

Running the application

  • 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

FOR PRODUCTION : In case you want to use this app in production make sure you have prod related dependencies installed and your keys and secrets are in an .env file.

* ANYTHING IN MASTER IS ALWAYS DEPLOYABLE *

About


Languages

Language:Python 100.0%