Closed shreevatsa closed 1 year ago
(Seems to work after pip3 install flask
and pip3 install indic_transliteration
but not sure whether that's all that needed starting with a clean systemβ¦)
Oh actually I see there's already a requirements.txt
file. Will add it to the Makefile.
(Wondering why the Python app exists, BTW? It looks like it does transliteration on the backend, but I'm confused because (1) it could be done in the frontend, and also (2) I thought GithHub pages only serves static content? Actually now I see https://github.com/ambuda-org/ambuda-org.github.io/tree/master/vidyullekha and I'm confused whether the app is supposed to be worked on this repo or there.)
I see https://github.com/ambuda-org/ambuda-org.github.io/blob/master/build.sh which clears it up, somewhat.
The change to the Makefile in https://github.com/ambuda-org/vidyut/pull/33 should help with the errors in the initial comment.
Wondering why the Python app exists, BTW?
Mainly so I can use Jinja's macro
tag to better organize the HTML for the demo, since it's quite complex. GitHub pages is indeed just serving a static file.
Closing since this has improved. I'm also resolving a wasm-pack
issue that @vipranarayan14 mentioned.
I tried to work on the demo web app, but things are broken:
After creating that directory:
Ok, creating that one too:
Indeed there's no
env/bin/activate
insidewww
so maybe it needs to be done in the other order?Maybe there needs to be a
requirements.txt
and all that, as this app is no longer just a standaloneindex.html
file :-)