$ git clone https://github.com/alizameller/UI-UX.git
$ cd UI-UX
Windows:
$ python3 -m venv venv
$ venv\Scripts\activate.bat
Unix/MacOS:
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
In your database client application (ex: psql), run the db.sql file
Example: Database called "postgres" in psql:
postgres=# \i '<path to db.sql file>'
Modify the SQLALCHEMY_DATABASE_URI variable
app.config['SQLALCHEMY_DATABASE_URI'] = <YOUR DATABSE CONNECTION URL HERE>
In the root directory of the cloned repo run:
$ flask run
The following message should display:
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
Press CTRL+C to quit
Open the url: http://127.0.0.1:5000