INFO 3180 Project 2 Photogram
Note: This app uses a PostgreSQL database along with Flask-SQLAlchemy and Flask-Migrate.
To begin using this app you can do the following:
- Clone the repository to your local machine or Cloud9.
- Create a Python virtual environment e.g.
virtualenv venv - Enter the virtual environment using
source venv/bin/activate - Install the dependencies using Pip. e.g.
pip install -r requirements.txt. Note: Ensure you have PostgreSQL already installed and a database created. - Edit the
app/__init__.pyfile and enter your database credentials and database name. - Run the migrations by typing
python flask-migrate.py db upgrade - Ensure you add a user to your database to test the login system.
- Start the development server using
python run.py.