|
@@ -43,11 +43,30 @@ 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.
|
|
|
|
|
|
-## How to use this?
|
|
|
+## How to build the source code
|
|
|
|
|
|
-1. Download the project
|
|
|
-2. Change the code in the templates to fits your needs (you can also do it along the way)
|
|
|
-3. Run the script 'app.py'
|
|
|
+1. Install the depedencies
|
|
|
+
|
|
|
+Debian:
|
|
|
+
|
|
|
+```bash
|
|
|
+sudo apt install python3 python3-pip
|
|
|
+pip3 install -r requirements.txt --user
|
|
|
+```
|
|
|
+
|
|
|
+Fedora:
|
|
|
+
|
|
|
+```bash
|
|
|
+sudo dnf install python3 python3-pip
|
|
|
+pip3 install -r requirements.txt --user
|
|
|
+```
|
|
|
+
|
|
|
+2. (Optional) Change the template to fit your needs
|
|
|
+3. Run the main file:
|
|
|
+
|
|
|
+```bash
|
|
|
+python3 app.py
|
|
|
+```
|
|
|
|
|
|
*Note: to change the style of the website I highly recommend you to use the 'Style inspector' built-in in Firefox.*
|
|
|
|