FoodForward aims to reduce food waste by making surplus food sharing simple, engaging, and accessible for everyone, one meal at a time.
Copy the contents of .env.example
file to a new .env
file. If you want, you can edit the details accordingly.
.env
.To manage dependencies using Pipenv, check Pipenv for details.
Install Pipenv:
pip install pipenv
Install dependencies:
pipenv install
Activate the virtual environment:
pipenv shell
Note: If you are having issues using Pipenv, create virtual environment using venv, activate it and run:
pip install -r requirements.txt
Finally, run the flask app using:
flask run --reload
or
python app.py
Filler data will be added automatically to the database if there is no data in the collections initially.
Run the following in the root directory if you need to manually add filler data to the database:
python -m scripts.fill
You can definitely create a new account, but you can also log in with one of the following default accounts to easily view the features of the app.
Password | |
---|---|
furrypig@nyu.edu | pass1234 |
alice@gmail.com | pass1234 |
bob@nyu.edu | pass1234 |
kimberly@gmail.com | pass1234 |
valencia@gmail.com | pass1234 |
irene@nyu.edu | pass1234 |
harry@nyu.edu | pass1234 |
luka@nyu.edu | pass1234 |
lara@nyu.edu | pass1234 |
michael@nyu.edu | pass1234 |