App calculating substance distribution.
https://physics-equations.herokuapp.com/
To run locally:
- go to requirements.txt in the root directory of the project
- PyCharm will probably ask you to install plugins which will help
- install everything from requirements.txt
- install FIle Watcher for SCSS
- go to static/css/styles.scss, press space several times to change file, press Ctrl+S, style.css and styles.css.map should have generated
- go to app.py in the root directory of the project
- press nice green arrow nex to number of row at the end of file
- go to http://127.0.0.1:5000
Flask offers live reload. To enable such, add debug=True
argument to app.run() method, so it would look like
if __name__ == "__main__": app.run(host='0.0.0.0', port=int(os.environ.get("PORT", 5000)))