khoj/.github/workflows
sabaimran a53178cab9
Add developer support for using next.js to serve generated static files (#814)
To improve the developer experience for front-end development, we're migrating to Next.js. In order to do this migration page-by-page, we're using static site generation via Next.js. This also helps us avoid making cross site requests from front-end to back-end for the time being, while giving a ramp to separating out server and client if needed for scale down the road.

Dev instructions for using the next.js setup are in the added README.

This adds scaffolding for including the built files in the python package as well as the docker images. Docker setup has been tested locally. In order to verify the build is working as expected, we can navigate to the {khoj_host}:42110/experimental and verify that the experiment page comes up.

This setup works with serving static files included in the src/interface/web folder from the Django app. The key bit for understanding the setup is in the yarn export command in package.json.
2024-06-22 20:12:41 +05:30
..
build_khoj_el.yml Upgrade khoj.el workflow to use Python 3.11 2024-04-07 11:24:07 +05:30
desktop.yml Upload Desktop App Artifacts to Github Release 2024-01-18 11:40:04 +05:30
dockerize.yml Add developer support for using next.js to serve generated static files (#814) 2024-06-22 20:12:41 +05:30
dockerize_telemetry_server.yml Push telemetry to Posthog to grok Khoj usage 2023-06-05 22:47:49 +05:30
github_pages_deploy.yml Modify permissions of the GITHUB_TOKEN for publishing to gh-pages 2024-01-07 20:53:57 +05:30
pre-commit.yml Add support for rendering math equations in the web view (#733) 2024-05-04 15:59:17 +05:30
pypi.yml Add developer support for using next.js to serve generated static files (#814) 2024-06-22 20:12:41 +05:30
release.yml Remove PySide dependency and deprecate desktop builds (#475) 2023-09-07 11:36:27 -07:00
test.yml Support using Python 3.12 with Khoj 2024-04-07 11:23:44 +05:30
test_khoj_el.yml Require dash, org to run ERT tests for khoj.el 2023-03-23 01:46:26 +04:00