Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 865 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 865 Bytes

Refu backend application

Installation

Running

  • Create local.env containing your these properties:

    • DATABASE_URL: Database connection string
    • SECRET_KEY: Session secret

    Example local.env file:

    SECRET_KEY=abcdefghij28731879
    DATABASE_URL=postgres://postgres@localhost/refu
    
  • Run python manage.py collectstatic

  • Run python manage.py migrate

  • On Windows: Run heroku local -e local.env -f Procfile.windows

  • On Unix: Run heroku local -e local.env

Future improvements

  • Rename SimpleOffer to distinguish between multiple types
  • Add proper account+authentication system