🍽️ 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
- Poetry: build the standalone Python package
cd ./src/js/chef
npm run build
cd -
poetry build
poetry publish
- 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chef_recipes-2.6.0.tar.gz | 4.4 MB | Without provenance | Details for chef_recipes-2.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chef_recipes-2.6.0-py3-none-any.whl | Python 3 | none | any | Details for chef_recipes-2.6.0-py3-none-any.whl |
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
|
Security for chef-recipes 2.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.