Skip to content

Getting Started

Taylor McClerin edited this page Jun 28, 2023 · 1 revision

Getting Started

  1. Start out by cloning the repository

  2. Install the dependencies

    • pipenv install -r requirements.txt
  3. Create .env file, for example:

    SECRET_KEY= super_secret_key_name
    DATABASE_URL=sqlite:///dev.db
    SCHEMA= schema_name_here
    
  4. Make sure the SQLite3 database connection URL is in the .env file

  5. In a terminal in the app directory, set up into your pipenv, migrate your database, seed your database, and run your Flask app:

    pipenv shell
    flask db upgrad
    flask seed all
    flask run
  6. To run the React App in development, checkout the README inside the react-app directory.

    • Essentially, in a terminal in the react-app folder:
        npm install
        npm start
      
  7. Now you can either set up an account or use the demo user option to explore EveryNote

Clone this wiki locally