Updated: August 1st 2023
The project is hosted live on Heroku at https://fibonacci-calculator-2531b1231971.herokuapp.com/
Simple Fibonacci Calculator done for the Chan-Zuckerberg Biohub challenge
- Go to the folder in fibonacci-calculator
- Open a bash console and create a virtual environment
python3 -m venv venv
- Activate the environment using
source venv/bin/activate
, you should now see (venv) or (main) - Install all dependencies
pip install -r requirements.txt
Your directory should look like this
.fibonacci-calculator-app/
├── static/
├── templates/
├── venv/
|
├── .gitignore
├── app.py
├── fibonacci.db
├── README
└── requirements.txt
- Open a new bash console, run the command
sqlite3 fibonacci.db
, you will enter the database shell - To clear the tables, run the command
DROP TABLE fibonacci;
.
- Inside the console with virtual environment, run
python app.py
and open localhost:5000 on your browser. - Enter a number, click generate and it will redirect you to the results page.