Webapp to display predicted spectral data for metabolites
For simple deployment:
unzip -j data/webapp-data.zip -d data
streamlit run Home.py
To deploy a website that can be accessed with https :
- Obtain SSL certificates for your server using certbot:
certbot --nginx -d <SERVER NAME>
- Copy certificates to this project directory, e.g. (need both):
- cp /etc/letsencrypt/live//fullchain.pem ./nginx/certs/.crt`
- cp /etc/letsencrypt/live//privkey.pem nginx/certs/.key
- Modify nginx config file:
- Copy template file
cp default_nginx_template.conf nginx/conf.d/default.conf
- Edit the template file to replace with your server name
- Copy template file
- Deploy with Docker:
docker compose up -d