Skip to main content

project page

Project description

README

Get started

  • Create a new project using this template

  • run make init_repository to initialize the repo for nbdev

  • run nbdev_preview to makesure nbdev renders the website

  • modify setting.ini and _quarto.yml as needed to reflect names and hyperlinks of this project

  • add notebook in the nbs folder and start building software

  • git add, git commit, git push to save your work

Deploy manually

  • make deploy_to_githubpage to deploy the website to github pages

  • from github, go to Settings -> Pages to set the source of the github page to main branch and /docs folder and save

  • visit the website at https://<username>.github.io/<project_name>

  • in the future you can run make deploy_to_githubpage to update the website automatically

Deploy automatically

  • first, go to Settings -> Actions -> general -> Workflows Permissions and enable Read and write access for Actions and Workflows

  • from github, go to Settings -> Pages to set the source of the github page to github-pages branch root folder and save

  • with github action, the website will be automatically deployed to github pages when you push to the main branch

  • visit the website at https://<username>.github.io/<project_name>

  • in the future the website will be updated automatically via github action after every push to the main branch

Local development and deployment

  • nbdev_preview to preview the website locally

  • nbdev_export to export the the library

  • pip install -e . to install the library in editable mode

  • nbdev_pypi to build the package and upload to pypi

License

  • add appropriate license to the project by modifying LICENSE file. Instructions can be found here

Happy Coding!

1+1
2
print("Hello World!")
Hello World!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdo_nbdev_template-0.0.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

hdo_nbdev_template-0.0.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page