Skip to content

A recipe management and grocery list generator app created using Jinja Templating (HTML), Javascript, Bootstrap, Flask (Python), and MariaDB hosted on a Google Cloud VM instance.

Notifications You must be signed in to change notification settings

pinkdragon1000/Zesty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zesty

My Setup

Hosted on a Google Cloud VM instance running using Debian and a g1-small (1 vCPU, 1.7 GB memory) machine type.

Running the Program Locally

Folder Structure

├── venv
|    └── ...
├── Zesty (this repo)
|    └── routes.py
|    └── static/
|    └── templates/

After the installation of MariaDB, the database information can be configured at the top of routes.py via this snipppet.

app.config['MYSQL_HOST'] = 'localhost'
app.config['MYSQL_USER'] = 'zesty_user'
app.config['MYSQL_PASSWORD'] = 'Z3$tyU$3r54'
app.config['MYSQL_DB'] = 'Zesty'
mysql = MySQL(app)

Here is a shell script I used to run the application in my environment. Change the paths for your machine:

#!/bin/bash
killall flask
cd /home/sitar/zesty_app
source venv/bin/activate
cd /home/sitar/zesty_app/Zesty
export set FLASK_ENV=development
export set FLASK_APP=routes.py
flask run --host=0.0.0.0 --port=5000

About

A recipe management and grocery list generator app created using Jinja Templating (HTML), Javascript, Bootstrap, Flask (Python), and MariaDB hosted on a Google Cloud VM instance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published