chopin42 4 лет назад
Родитель
Сommit
f90ec7a9f5
2 измененных файлов с 28 добавлено и 4 удалено
  1. 5 0
      Makefile
  2. 23 4
      README.md

+ 5 - 0
Makefile

@@ -0,0 +1,5 @@
+install:
+	pip3 install -r requirements.txt --user
+
+run:
+	python3 app.py

+ 23 - 4
README.md

@@ -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.*