Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.21 KB

File metadata and controls

58 lines (38 loc) · 1.21 KB

pythonanywhere-briefcase-plugin

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.