-
Install project dependencies using npm:
npm install
-
Create a
.env
file in the root directory of the project with the following environment variables:VITE_HEDERA_NETWORK=testnet VITE_HEDERA_SMART_CONTRACT_ID=0.0.12345 VITE_WALLET_CONFIG_NAME=My app VITE_WALLET_CONFIG_DESCRIPTION=My app description VITE_WALLET_CONFIG_ICON_URL=https://myappicon.example/ VITE_WALLET_CONFIG_APP_URL=https://walletconfginurl.example/
Start project in dev mode
pnpm run dev
Build project
pnpm run build
Serve static files after build
pnpm run preview
Run linter
pnpm run lint
- Fork repo
- On your forked repo go to
Settings
>Pages
and enable github pages withGitHub Actions
- Go to
Actions
and selectDeploy static content to pages
- Run workflow with yor details
Alternatively you can set you environment variables in repo setting. Variables set in that way take priority over values provided in Run workflow
form.