GitHub

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

21 Commits

A Briefcase publication channel plugin for deploying static web apps to PythonAnywhere.

Prerequisites

  • A PythonAnywhere account
  • An API token (from your Account page)

Installation

$ pip install pythonanywhere-briefcase-plugin

Quick start

Build and package your web app:

$ briefcase create web static
$ briefcase build web static
$ briefcase package web static

Set your PythonAnywhere API token:

$ export API_TOKEN=your-api-token-here

Publish:

$ briefcase publish web static

Your app will be deployed to https://<username>.pythonanywhere.com/.

Documentation

Full documentation is available at https://briefcase.pythonanywhere.com/.

Contributing

Development requires uv.

$ git clone https://github.com/pythonanywhere/pythonanywhere-briefcase-plugin.git
$ cd pythonanywhere-briefcase-plugin
$ uv sync
$ uvx pre-commit install
$ uv run pytest

License

MIT license.

Read the original on github.com ↗