To use HomeAwayFromHome you need to install some dependencies.
-
To install python3 on ubuntu, Open the terminal and run the command below:
sudo apt install python3.6
-
To install flask run command on terminal:
pip install flask
-
To handle flask form you need to run command:
pip install flask-wtf
-
To handle sqlalchemy database need to install package flask-sqlalchemy:
pip install flask-sqlalchemy
-
To handle hashing you need to install package flask-bcrypt:
pip install flask-bcrypt
-
To handle image resizing you need to install package pillow:
pip install pillow
After installing these packages you need to clone project from github
- extract file
- goto to directory where main.py availabe
- open terminal in this directory
- type python3 main.py
- it will show the url :http://127.0.0.1:5000/ like that
- open in browser
- know site is running on your local machine.