Skip to content

Grispi/Final_project_CFGII

Repository files navigation

Final project for Code first Girls II

Initialize the Database File and run the aplication

First you have to initialize the Database file:
run this command in a new terminal in your project directory:

>>export FLASK_APP=__init__.py
>>export FLASK_ENV=development
>>python -m flask init-db
Initialized the database.

There will now be a final_project.sqlite file in the instance folder in your project. Everytime you use a new terminal, remember to change to your project directory and activate the env as described.
After initialize the database file, you can run the python file:
python -m flask run

http://flask.pocoo.org/docs/1.0/tutorial/factory/

Install requirements.txt:

pip install -r requirements.txt

Add file .env in the project folder with this data:

API_KEY = your api key from fliker

About

Final project for Code first Girls II

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published