Skip to content

widgetti/solarathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install locally

pip install -e .

Run locally

$ solara run solarathon.pages
# add --no-open if you don't like opening the browser window automatically

Deploy via Github Actions

Get your Ploomber API key and set it as PLOOMBER_CLOUD_KEY in GitHub (under Settings->Secrets and Variables->Actions, and click "New repository secret")

Do only once

$ ploomber-cloud key YOURKEY
$ (cd ploomber && rm ploomber-cloud.json && ploomber-cloud init)
(add to git and commit)
$ git add ploomber/ploomber-cloud.json
$ git commit -m "ci: set ploomber id"
$ git push origin master:ploomber

Run to deploy a new version

$ git push origin master:ploomber
# add --force if needed

Other resources

Deploy manually

(Not recommended) See https://docs.cloud.ploomber.io/en/latest/user-guide/cli.html for more details

$ pip install ploomber-cloud
$ mkdir -p ploomber/wheels
$ ploomber-cloud key YOURKEY
$ (cd ploomber && ploomber-cloud init)
(type y)
# build the wheel
$ (hatch build && cp dist/*.whl ploomber/wheels)
$ (cd ploomber && ploomber-cloud deploy)

About

Template project for Solarathon 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published