![]() |
2 years ago | |
---|---|---|
templates | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
app.py | 4 years ago | |
helper.py | 4 years ago | |
login.py | 4 years ago | |
requirements.txt | 2 years ago | |
todo.md | 4 years ago |
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:
git clone https://gitea.com/chopin42/simple-forum
cd simple-forum
sudo make debian
make run
Fedora:
git clone https://gitea.com/chopin42/simple-forum
cd simple-forum
sudo make fedora
make run
Download the source code:
git clone https://gitea.com/chopin42/simple-forum
cd simple-forum
Install the depedencies
Debian:
sudo apt install python3 python3-pip git
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.