pstjohn / ysi_prediction_flask

A flask app to support ysi prediction online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask App for YSI prediction

Now live at https://ysi.ml.nrel.gov/

The only tricky dependency here is rdkit, but it can be installed with

conda install -c conda-forge rdkit

The dependencies are therefore

  • rdkit
  • pandas
  • seaborn (for colors)
  • flask
  • wtforms

To update submodules (add new compounds)

git submodule foreach git pull origin master

To launch a local server:

cd ysipred
gunicorn --bind 0.0.0.0:2222 main:app

Then browse to 0.0.0.0:2222 in a web browser

To deploy new changes to website

heroku container:login
heroku container:push web --app ysipred
heroku container:release web --app ysipred

About

A flask app to support ysi prediction online

License:MIT License


Languages

Language:HTML 85.1%Language:CSS 12.4%Language:Python 1.9%Language:JavaScript 0.6%Language:Dockerfile 0.0%Language:Shell 0.0%