Developed for AERSP 313 Aerospace Analysis at the Pennsylvania State University.
Under development for Fall 2022.
The Jupyter-based web application is generated using Mercury and hosted on Heroku.
Just download the ipynb file and run it on your computer. Make sure to install the Python environment and the Jupyter package. For first-time users, the easiest way to start is to install Anaconda.
- Installation
- Develop the Jupyter notebook application locally, with the file in the root path. One can check the web application locally by
To delete the notebook,
mercury watch <path_to_your_notebook>Ifmercury delete <path_to_your_notebook>CTRL+Cdoes not kill the Django server, on Mac one can useIf done with the local edits, commit and push to the current repo.sudo lsof -t -i tcp:8000 | xargs kill -9 - If everything looks good, one can push to the Heroku website
The branch name for the current repo is
git push heroku <branch_name>master, instead ofmainas suggested by some Mercury documentation. - If a library/driver is not available on Heroku, it typically can be added via
settings/buildpackof the app. - If one is logged out of Heroku CLI, do
heroku auth:login
- To debug Heroku application, do
Heroku logs --tail
Note:
- One can ignore the
celery-related files - those are only for running Mercury locally. - Widgets for Mercury, see here