Skip to content

neuromat/Vitrine_Flask

Repository files navigation

Vitrine NeuroMat

Deployment

This section explains how to deploy the application on a production server running inside an LXC container.


Overview

  • App Server (vitrine container): Runs the Flask app via Gunicorn.
  • Proxy Server (proxy-apache container): Runs Apache and forwards requests to the Flask app. It is out-of-scope for this document.

Environment dependencies

  • Python >=3.9
  • pip >= 23.0

Steps

  1. Create and activate the virtual environment as venv:
python3 -m venv venv
source venv/bin/activate
  1. Install the requirements:
pip install -r requirements.txt
  1. Run gunicorn:
nohup gunicorn --bind 0.0.0.0:8000 wsgi:app > gunicorn.log 2>&1 &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors