Browse Source

Changing instructions part 2

chopin42 4 years ago
parent
commit
f90ec7a9f5
2 changed files with 28 additions and 4 deletions
  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.
 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.*
 *Note: to change the style of the website I highly recommend you to use the 'Style inspector' built-in in Firefox.*