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 !
- Host: GitHub
- URL: https://github.com/benoitprmt/monod-crush
- Owner: BenoitPrmt
- License: mit
- Created: 2022-02-23T11:07:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T06:09:35.000Z (almost 2 years ago)
- Last Synced: 2024-10-19T11:49:15.857Z (over 1 year ago)
- Topics: flask, love, python, sqlite
- Language: Python
- Homepage: https://monodcrush.fr
- Size: 1010 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](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