sjstark / todo-todone-tada

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

todo-todone-tada

Setting Up and Starting a Local Server

  1. Install dependencies from the root directory of the project

    pipenv install -r requirements.txt
  2. 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.

  3. 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
  4. Get into your pipenv, migrate your database, seed your database, and run your flask app

    pipenv shell
    flask db upgrade
    flask run
  5. To run the React App in development, in a separate terminal:

    cd client
    
    npm install
    
    npm start
    

About


Languages

Language:JavaScript 49.0%Language:Python 47.1%Language:Mako 1.5%Language:Shell 1.3%Language:HTML 1.1%