You’ll need to create two files in your project (in addition to your
files required for your page such as
#!/usr/bin/env bash python ./app.py
import http.server import socketserver PORT = 8888 Handler = http.server.SimpleHTTPRequestHandler httpd = socketserver.TCPServer(("", PORT), Handler) print "serving at port", PORT httpd.serve_forever()
To publish your app, go to the navigation pane in your browser and click Publish.
The Publish page should now be visible in your browser. Click the App tab. Your screen should now look something like this.
Click Publish to publish your app. See App Publishing Overview.