Skip to content

BenoitPrmt/Monod-Crush

Repository files navigation

Python package

♥️ Monod Crush

Website is available at monodcrush.fr

NSI project realized by @BenoitPrmt, @JulesGrd and @KillianTib

Project documentation : PROJECT.md

📥 Install

Windows and Linux

Clone the repository

git clone https://github.com/BenoitObelia/Monod-Crush
cd Monod-Crush

Create a virtualenv and activate it (optional)

virtualenv venv
venv/Scripts/activate # for Windows
source venv/bin/activate # for Linux

Install dependencies

pip install -r requirements.txt

🧰 Usage

For development

don't forget to activate the virtual environment if you have it installed

1) Setup database

python manage.py migrate

2) Run the server

Local :

python manage.py runserver

Then open http://localhost:5000/ in your browser


LAN (/!\ Do not use it in a production deployment) :

python manage.py runserver 0.0.0.0:5000

Then open http://<your_ip>:5000/ in your browser

✅ For production

Use gunicorn with a reverse proxy server like Nginx