Skip to content

Run The App Locally

Anthony Febles edited this page May 23, 2024 · 2 revisions

Run The App Locally

Back-End

  • ENV set-up

    • Before starting, be sure to make a .env file using the .env.example as a guide, you can run this command :
      • cp .env.example .env
  • On the Root directory run these commands to set up the right Python3 environment for the backend :

    • pipenv install -r requirements.txt
    • Go to the App directory
    • flask db upgrade && flask seed all
  • Start the backend by using the command :

    • "flask run" or "run flask run" if you're not currently in the python environment made earlier

Front-End

  • Install all necessary packages
    • Run this command inside of the /react-app directory :
      • npm install
  • Start the front-end
    • Run this command inside of the /react-app directory :
      • npm start
Clone this wiki locally