dm4nk / physics_equations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

physics_equations

App calculating substance distribution.

https://physics-equations.herokuapp.com/

To run locally:

  1. go to requirements.txt in the root directory of the project
  2. PyCharm will probably ask you to install plugins which will help
  3. install everything from requirements.txt
  4. install FIle Watcher for SCSS
  5. 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
  6. go to app.py in the root directory of the project
  7. press nice green arrow nex to number of row at the end of file
  8. 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)))

About


Languages

Language:Python 48.9%Language:HTML 22.2%Language:SCSS 17.2%Language:JavaScript 11.7%Language:Procfile 0.1%