- Enter
web-ui
& install NPM packages (if you're using pnpm, replacenpm
withpnpm
in all the commands below):
npm i
- Create a
.env
file in the "aveenis" directory, i.e. the root folder. This is necessary to securely request data from the Supabase backend.
REACT_APP_PROJECT_URL=<input url>
REACT_APP_ANON_KEY=<your ANON key>
- You can now run the Next.js local development server:
npm run dev
- Enter backend and install python packages. BEST TO CREATE VIRTUAL ENVIRONMENT FIRST!
pip install -r requirements.txt
- Run Flask app with debug mode (best for development) or build mode (best for deployment testing)
flask --app app.py --debug run
OR
flask --app app.py run