Skip to content
Snippets Groups Projects
Select Git revision
  • 9abd46647a628ba1aa90d2e6628182a3827a2c65
  • main default protected
  • bugfix/message-deletion
  • bugfix/direct-message
  • responsive-ui
  • v0.4.0
  • v0.3.22
  • v0.3.6
  • v0.3.4
  • v0.3.5
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
  • v0.2.9
  • v0.2.8
  • v0.2.7
  • v0.2.6
  • 0.1
19 results

speakeasy-web

Richard T. Carback III's avatar
Richard T. Carback III authored
NextJS -> Vite

See merge request !109
9abd4664
History

Haven is a vite app.

Getting Started

First, run the development server:

npm install
npm run dev
# or
yarn install
yarn dev
# or
bun install
bun run dev

Open http://localhost:3000 with your browser to see the result.

ICP Cannister HOWTO

https://internetcomputer.org/docs/current/developer-docs/web-apps/application-frontends/existing-frontend

Test Locally:

dfx start
dfx deploy

Generate and fund an Identity, in this case icp_prod:

dfx identity new icp_prod
dfx ledger account-id --identity icp_prod --network ic # Use output here to send funds
dfx ledger balance --identity icp_prod --network ic
dfx cycles convert --amount 2.0 --network ic --identity icp_prod

Deploy

dfx deploy --network ic --identity icp_prod

Production

npm run build
npm run preview
# or
yarn build
yarn preview
# or
bun run build
bun run preview