Skip to content

PASTAplus/dashboard

Folders and files

NameName
Last commit message
Last commit date
Mar 7, 2018
Apr 27, 2023
May 1, 2025
Aug 26, 2020
Feb 15, 2018
Apr 19, 2023
May 10, 2024
Mar 12, 2025
Mar 12, 2025
Mar 7, 2018
Mar 7, 2018

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