Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • 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
16 results

speakeasy-web

  • Clone with SSH
  • Clone with HTTPS
  • Richard T. Carback III's avatar
    Richard T. Carback III authored
    Hot fixes for vite
    
    See merge request !110
    2fa529eb
    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