An open API service indexing awesome lists of open source software.

https://github.com/benoitprmt/monod-crush

Social network created for our school ! Look README.md for more informations !
https://github.com/benoitprmt/monod-crush

flask love python sqlite

Last synced: 9 months ago
JSON representation

Social network created for our school ! Look README.md for more informations !

Awesome Lists containing this project

README

          

[![Python package](https://github.com/BenoitObelia/Monod-Crush/actions/workflows/django.yml/badge.svg)](https://github.com/BenoitObelia/Monod-Crush/actions/workflows/test.yml)

# ♥️ Monod Crush

Website is available at [monodcrush.fr](https://monodcrush.fr)

NSI project realized by [@BenoitPrmt](https://github.com/BenoitPrmt), [@JulesGrd](https://github.com/JulesGrd) and [@KillianTib](https://github.com/KillianTib)

Project documentation : [PROJECT.md](./PROJECT.md)

## 📥 Install

### Windows and Linux

Clone the repository
```bash
git clone https://github.com/BenoitObelia/Monod-Crush
cd Monod-Crush
```

Create a virtualenv and activate it (optional)
```bash
virtualenv venv
venv/Scripts/activate # for Windows
source venv/bin/activate # for Linux
```

Install dependencies
```bash
pip install -r requirements.txt
```

## 🧰 Usage

## For development
*don't forget to activate the virtual environment if you have it installed*

### 1) Setup database

```bash
python manage.py migrate
```

### 2) Run the server

Local :
```bash
python manage.py runserver
```
Then open http://localhost:5000/ in your browser

---
LAN (/!\ Do not use it in a production deployment) :
```bash
python manage.py runserver 0.0.0.0:5000
```
Then open http://:5000/ in your browser

## ✅ For production

Use gunicorn with a reverse proxy server like Nginx