Skip to main content

🍽️ Chef

A simple, customizable recipe management app.

A simple FastAPI + SQLAlchemy app + VueJS frontend. Frontend app is built and bundled together with the python build downloadable from PyPI -> the entire app can be run with a single command. It's also built as a single container and can be easily hosted (with little tweaks) on GCP Cloud Run.

Installation

curl https://raw.githubusercontent.com/xyzjonas/chef/master/install.sh | bash

or install the package yourself

pip install chef-recipes
chef --help

or run with docker:

docker run -p 8000:8000 -v ~/.chef:/chef/data scotch3840/chef:latest

Build & Development

Migrations

migrations are included in the build package, symbolic link to the alembic.ini is in the repository root

# schema changes
alembic revision --autogenerate -m "<... message ...>"

# upgrade the target database - accoring to $DATABASE_URI
alembic upgrade head

# ...or can be executed from the built script - i.e. without the sources
chef migrate-db

Build

  1. Poetry: build the standalone Python package
cd ./src/js/chef
npm run build
cd -
poetry build
poetry publish
  1. Build the docker image
docker build . -t scotch3840/chef
docker push scotch3840/chef

...or run on GCP using scotch3840/misc:chef-gcp image (PostgreSQL):

! second generation execution environment required.

  • BUCKET: name of your GCP/CloudStorage bucket.
  • MNT_DIR: target where the bucket will be mounted.
  • IMAGES_FOLDER: where the app will be looking for and storing uploaded images, has to be somewhere inside your bucket.
  • DATABASE_URI: specify your posgres or possibly put an sqlite file in the bucket as well.

Metadata

Release files for chef-recipes 2.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chef-recipes 2.6.0
File Size Uploaded
chef_recipes-2.6.0.tar.gz 4.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for chef-recipes 2.6.0
File Interpreter ABI Platform
chef_recipes-2.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 MB

Release files / chef_recipes-2.6.0.tar.gz

Download URL chef_recipes-2.6.0.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
7a6c0489199b2dd3a8a3649af9869ef03dd814e3fc660d58f20b754afbf17998
BLAKE2b-256 checksum
How to use checksums
073639716b948c8f0fa860207f96c56ac66b82fc293306354c223e251cb140cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.2 CPython/3.11.15 Linux/7.1.8-200.fc44.x86_64

Release files / chef_recipes-2.6.0-py3-none-any.whl

Download URL chef_recipes-2.6.0-py3-none-any.whl
Size 4.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
09492d62b8af5bd55f978f48a7f87bb87a25d5447fd20c4f8603bc4cef26316d
BLAKE2b-256 checksum
How to use checksums
ed77fa9204f6a465244615d692ef27de731875e78fe8f30bdedee0a3d2b955af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.2 CPython/3.11.15 Linux/7.1.8-200.fc44.x86_64

Release history Release notifications | RSS feed

This release

2.6.0 This release

2 release files

2.5.5

2 release files

2.5.4

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page