Make sure to install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun installTo use the translation service, you need to have Ollama installed and the translategemma model loaded.
# Add Ollama repository
curl -fsSL https://ollama.com/install.sh | sh# Download and install
irm https://ollama.com/install.ps1 | iexAfter installing Ollama, pull the translategemma model:
# Pull the translation model
ollama pull translategemma:latestFor specific model versions:
# Pull a specific version
ollama pull translategemma:12bStart the Ollama server (runs on localhost:11434 by default):
ollama serveStart the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
# bun
bun run devBuild the application for production:
# npm
npm run build
# pnpm
pnpm build
# yarn
yarn build
# bun
bun run buildLocally preview production build:
# npm
npm run preview
# pnpm
pnpm preview
# yarn
yarn preview
# bun
bun run previewCheck out the deployment documentation for more information.