NOTE: this is still WIP, here is the LIVE DEMO of the current progress.
PS: If it's slow when first time opening app, that's because Heroku shuts down app after 30mins of inactivity, so it takes a while to run it again.
Here the look of the main page 😍
pip install -r requirements.txt
export FLASK_APP=wsgi.py
flask run
or
python manage.py runserver
npm install
npm start
npm run build
npm run lint
- Set environmental variables (change
SECRET_KEY
value)
heroku config:set SECRET_KEY=not-so-secret
heroku config:set FLASK_APP=wsgi.py
...
- Deploy on Heroku by pushing to the
heroku
branch or some other branch you created
git push <heroku|staging|production> master
-
Running the app
-
locally ->
python manage.py runserver
-
production ->
heroku run python manage.py runserver --app app_name
-
-
Create user manually (these are automatically verified, no need for email confirmation)
heroku run python manage.py create_user --app app_name