-
Install dependencies from the root directory of the project
pipenv install -r requirements.txt
-
Typically, I would have have users create a new
.env
file based off the.env.example
, however, since there is no concern of security, the.env
file is included. -
Setup your PostgreSQL user, password and database and make sure it matches your
.env
file.CREATE USER ttt_app WITH CREATEDB PASSWORD 'strong1password'; CREATE DATABASE todo_todone_tada WITH OWNER ttt_app; \q
-
Get into your pipenv, migrate your database, seed your database, and run your flask app
pipenv shell
flask db upgrade
flask run
-
To run the React App in development, in a separate terminal:
cd client
npm install
npm start