heroku commit

This commit is contained in:
lucas
2022-04-29 20:05:22 -07:00
parent 190d0933c8
commit 432c20c917
4 changed files with 48 additions and 1 deletions

1
Procfile Normal file
View File

@@ -0,0 +1 @@
web: gunicorn app:main

View File

@@ -58,4 +58,4 @@ def add_recipe():
if __name__ == "__main__":
book = RecipeBook()
app.run(debug=False)
app.run(debug=True)

View File

@@ -22,5 +22,44 @@
"Yeast": 0,
"Starter": 125
}
},
"0": {
"quantity": "4",
"name": "Whole Wheat",
"ingredients": {
"AP Flour": 500,
"WW Flour": 500,
"Rye Flour": 0,
"Water": 800,
"Salt": 23,
"Yeast": 15,
"Starter": 0
}
},
"1": {
"quantity": "2",
"name": "Whole Wheat * 0.5",
"ingredients": {
"AP Flour": 250,
"WW Flour": 250,
"Rye Flour": 0,
"Water": 400,
"Salt": 12,
"Yeast": 8,
"Starter": 0
}
},
"2": {
"quantity": "1",
"name": "Sandwich",
"ingredients": {
"AP Flour": 400,
"WW Flour": 0,
"Rye Flour": 100,
"Water": 300,
"Salt": 15,
"Yeast": 0,
"Starter": 12
}
}
}

7
requirements.txt Normal file
View File

@@ -0,0 +1,7 @@
click==8.1.3
Flask==2.1.2
gunicorn==20.1.0
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.1
Werkzeug==2.1.2