Installation Guide¶
- Install Python (version 3.4 or higher)
- Install Flask
We used Flask framework for web developement.
pip3 install -U flask
- Install Psycopg2
Our project needs Psycopg2 as a PostgreSQL adapter.
pip3 install -U psycopg2
- Install flask_login
We used flask-login for login/session management.
pip3 install flask-login
- Install passlib
We used passlib for hashing users’ passwords.
pip3 install passlib
- After installing requirements, clone repository to your preffered location.
- Use vagrant in order to use database system and wait until it finishes.
vagrant up
- Run the server file in order to use in localhost
python server.py
As long as “server.py” is running, you can connect to “localhost:5000” to view our site.