A ory/kratos frontend. Start with Svelte and Deno
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
pnpm install
pnpm dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
Before creating a production version of your app, build adapter for deno environment.
cd internal/adapter-deno
pnpm install
pnpm prepublishOnly
Try command. Use deno for run code. Don't use nodejs
pnpm build
You can preview the built app with
npm run preview
, regardless of whether you installed an adapter. This should not be used to serve your app in production.
deno run --allow-env --allow-read --allow-net build/app.js
Or with custom hostname and port
HOST=127.0.0.1 PORT=4567 deno run --allow-env --allow-read --allow-net build/app.js