Template to make a Nextjs + Ollama app that runs on OpenxAI (and any other NixOS infrastructure).
- Replace all instances of "nextjs-ollama-template" with the name of your project. This should be unique, as no apps with the same name can be run on a single Xnode.
- Pick your ollama model from https://ollama.com/library and enter it's identifier in ollama-model.txt.
- Build your Nextjs app
- Once your app is ready for deployment and runs using
nix run, push to GitHub and copy your GitHub url (e.g. https://github.com/Openmesh-Network/nextjs-ollama-template).
nix run
npm i
npm run dev
npm run build
npm run start