Skip to content

PASTAplus/dashboard

Repository files navigation

Dashboard

PASTA system dashboard and utilities

The PASTA Dashboard is a Flask driven web application using Ngnix as its frontend web server. Some routes require administration rights to access, but most routes are publicly accessible.

Deployment notes

  • To install uwsgi with Conda: conda install -c conda-forge libiconv uwsgi
  • To restart service: sudo service dashboard restart
  • Flask requires all static content to be in <webapp>/static (see Config.STATIC)

Thanks to Digital Oceans' community tutorials for tips on deploying Nginx with LetsEncrypt on Ubuntu 16.04 and integrating Flask and uwsgi with Nginx.

Full deployment steps:

  1. Install Nginx - see above
  2. Install LetsEncrypt - see above
  3. Install git
  4. Create the main user - generally pasta
  5. Download and install miniconda
  6. Using the conda package manager, create three new Python virtual environments:
  • conda env create -n pastaplus_utilities python=3.7 --no-default-packages
  • conda env create -n soh python=3.7 --no-default-packages
  • conda env create -n dashboard python=3.7 --no-default-packages
  1. In the pasta home directory, clone the following git repositories:
  • git clone https://github.com/PASTAplus/pastaplus_utilities.git
  • git clone https://github.com/PASTAplus/soh.git
  • git clone https://github.com/PASTAplus/dashboard.git

About

PASTA system dashboard and utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •