tuiHoneyPot

front and back end of my TUI honeypot
Log | Files | Refs | README

README.md (847B)


      1 Clone "the-kitchen" from gitlab.ti.howest.be
      2 go into the directory mentioned over
      3 
      4 ```apt install python3.11-venv```<br>
      5 
      6 ```python3 -m venv .venv```<br>
      7 
      8 ```. .venv/bin/activate```<br>
      9 
     10 ```pip install .```<br>
     11 
     12 ```pip install waitress```<br>
     13 
     14 Setup the project's database, while in the root directory of the project:<br>
     15 ```sqlite3 db/database.db <db/database_schema.sql```<br>
     16 
     17 In the root of the project, a .env file should be generated. The following keys should be present:<br>
     18 
     19 ```JWT_SECRET```<br>
     20 ```SESSION_SECRET```<br>
     21 
     22 Go to the folder /uploads/pictures and create the custom directory<br>
     23 
     24 Now you can run the application with waitress.<br>
     25 The host option without a port will run the server on port ```8080``` by default<br>
     26 
     27 ```waitress-serve --host 127.0.0.1 app:app```<br>
     28 
     29 Now you are running the complete application! Congrats!