![]() |
4 лет назад | |
---|---|---|
templates | 4 лет назад | |
Makefile | 4 лет назад | |
README.md | 4 лет назад | |
README.md.backup | 4 лет назад | |
app.py | 4 лет назад | |
data.db | 4 лет назад | |
helper.py | 4 лет назад | |
login-ex.py | 4 лет назад | |
login.md | 4 лет назад | |
login.py | 4 лет назад | |
requirements.txt | 4 лет назад | |
todo.md | 4 лет назад |
This is a simple forum built-in Flask framework in Python. The main code is less than 100 lines to be as lightweight as possible. For the moment the forum is very basic.
In the future I want to integrate the following ones as well
I made this forum because I want to make a serie of basic lightweight web apps that can be used to make other projects as well. I challenged myself to make apps with the following lines limits:
So these are the advantages:
In bonus you can also uses the 'login.py' script to speed up the devloppement of the account management in your own Flask apps.
Debian:
sudo apt install python3 python3-pip
pip3 install -r requirements.txt --user
Fedora:
sudo dnf install python3 python3-pip
pip3 install -r requirements.txt --user
Run the main file:
python3 app.py
Note: to change the style of the website I highly recommend you to use the 'Style inspector' built-in in Firefox.
You can find the login.py's documentation here.