Skip to content

Run the application

Lawrence Liu edited this page Dec 28, 2016 · 1 revision
  • Start the application
    • Be sure to startup postgresql, then set up the follow environment variables firstly:

      • Required environment variables
        • DATABASE_URL
        • SECRET_KEY
        • SECURITY_PASSWORD_SALT
      • Necessary for some feature
        • SENTRY_DSN if want sentry to be enable
        • CLOUDINARY_URL if want cloudinary to be enable
    • For development, run python wsgi.py, and then open it on http://localhost:5000

    • If you run it via heroku local, please open it on http://localhost:8000

    • Default admin username/password is support@betterlife.io / password

  • Test the application
    • Run python manage.py test to test the application