Skip to content

superrcoop/abcrecipe

Repository files navigation

abcrecipe.xyz

Description

Recipe and meal planner

Getting Started !

This Web app requires the latest version of Flask

Clone the repository:

$ git clone https://github.com/superrcoop/abcrecipe.git

Go into the repository:

$ cd abcrecipe

Create virtual environment(activate):

$ virualenv venv

$ source venv/bin/activate

Install dependencies:

$ pip install -r requirements.txt

Deploy

To test locally,Ensure that PostgreSQL or MySql is installed and running and configure the database URI located in __init__.py

Locally:

app.config['SQLALCHEMY_DATABASE_URI'] =  '<database_url>'

Initialize, migrate and upgrade the database:

$ python manage.py db init

$ python manage.py db migrate

$ python manage.py db upgrade

Run application:

$ python run.py