Is it possible to release my PyTermTk app as a web app #298
Replies: 3 comments
-
Yes it is possible but I haven't formalised the procedure yet. |
Beta Was this translation helpful? Give feedback.
-
basically have a look at the web exporter, it is hardcoded to export "The Dumb Paint Tool" from the folder "tools/dumbPaintTool" In theory, if you change this with the location of your app: pyTermTk/tools/webExporterInit.sh Lines 104 to 108 in a4fd0d3 And modify the web.ttk.package.json with the details of your script: pyTermTk/tools/dumbPaintTool/web.ttk.package.json Lines 1 to 12 in a4fd0d3 It should works. |
Beta Was this translation helpful? Give feedback.
-
As example you can clone pyTermTk tools/webExporterInit.sh and check the content of the file itchExport.zip the important files are the web.ttk.package.json and the bin/DPT.tgz You can also manually edit it and put your app as tarball inside the bin folder and adapt the json file to point to your app, you can also add as many tarballs as you want of other libraries (i.e. pygments) |
Beta Was this translation helpful? Give feedback.
-
Looking for something similar to the online tryit editor.
I want to release an app as a self contained web app.
Beta Was this translation helpful? Give feedback.
All reactions