A mini server is writen in the server.py to serve this folder's files, so we could test and develop locally while running multi-site-app
To install the mini-server :
pip install --upgrade pip
python3 -m pip install --user virtualenv
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txtor
sh setup.sh
source venv/bin/activateTo run the server on http://localhost:8900:
python server.pyor
sh run_server.shFiles will be locally served on :
http://localhost:8900/content/<path:folder_path>/<string:filename>http://localhost:8900/statics/<path:folder_path>/<string:filename>
| logo | url | |
|---|---|---|
| coopérative numérique multi | ![]() |
https://multi.coop |
