Skip to content

meya-customers/demo-app

Repository files navigation

demo-app

Meya build

Sample BFML and Python code for Meya Grid and Orb.

Try it live: https://codepen.io/ekalvi/pen/MWzovYB

Setup

brew install python@3 libgit2
MEYA_AUTH_TOKEN=your_meya_auth_token
MEYA_APP_ID=app-your_app_id
git clone https://github.com/meya-customers/demo-app.git demo-app
cd demo-app
# you can optionally setup a venv instead as well
python3 -m venv venv  # optional
. venv/bin/activate  # optional
pip3 install --upgrade \
    --extra-index-url https://meya:$MEYA_AUTH_TOKEN@grid.meya.ai/registry/pypi \
    "pygit2==1.2.1" \
    "meya-sdk>=2.0.0" \
    "meya-cli>=2.0.0"
# auth (if needed)
meya auth add --auth-token $MEYA_AUTH_TOKEN
# connect to existing app
meya connect --app-id $MEYA_APP_ID

Workflow

meya check
meya format
meya test --watch
# to download secrets
meya vault download --file vault.secret.yaml
# if new secrets (after changing the yaml file)
meya vault upload --file vault.secret.yaml
meya push --watch
# for a full rebuild (useful for production deployments)
meya push --force --build-image

GitHub Actions

See .github/workflows/meya.check-test.yaml

About

👩🏽‍💻A demo app that contains example code for Meya's functionality and Orb UIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors