-
Notifications
You must be signed in to change notification settings - Fork 1
Run The App Locally
Anthony Febles edited this page May 23, 2024
·
2 revisions
-
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
- Before starting, be sure to make a .env file using the .env.example as a guide, you can run this command :
-
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
- Install all necessary packages
- Run this command inside of the /react-app directory :
- npm install
- Run this command inside of the /react-app directory :
- Start the front-end
- Run this command inside of the /react-app directory :
- npm start
- Run this command inside of the /react-app directory :