Skip to content

Commit 020a5ed

Browse files
Add mention of PythonAnywhere publication plugin (#63)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
1 parent af6653d commit 020a5ed

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

docs/en/tutorial/tutorial-6.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ This web app is a static website - a single HTML source page, with some CSS and
146146

147147
But when you press the button, you're running Python code... how does that work? Toga uses [PyScript](https://pyscript.net) to provide a Python interpreter in the browser. Briefcase packages your app's code as wheels that PyScript can load in the browser. When the page is loaded, the application code runs in the browser, building the UI using the browser DOM. When you click a button, that button runs the event handling code in the browser.
148148

149+
## Publishing the web app
150+
151+
If you want, you can also try publishing this web app to the internet using the [PythonAnywhere Briefcase Plugin](https://github.com/pythonanywhere/pythonanywhere-briefcase-plugin). The [tutorial](https://briefcase.pythonanywhere.com/tutorial/) for that plugin picks up where this page leaves off and walks you through packaging and publishing to [PythonAnywhere](https://www.pythonanywhere.com/).
152+
149153
## Next steps
150154

151155
Although we've now deployed this app on desktop, mobile and the web, the app is fairly simple, and doesn't involve any third-party libraries. Can we include libraries from the Python Package Index (PyPI) in our app? Turn to [Tutorial 7](tutorial-7.md) to find out...

docs/spelling_wordlist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Pygame
5656
PyPI
5757
PyScript
5858
pytest
59+
PythonAnywhere
5960
README
6061
repo
6162
repos

0 commit comments

Comments
 (0)