Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 972 Bytes

README.md

File metadata and controls

44 lines (29 loc) · 972 Bytes

Init

npm install

Dev

npm run dev

This will:

  • Run a local solo node
  • Deploy contracts on it
  • Start website in development mode
  • Start a CloudFlare Worker within the pages
    • with fee delegation

You need to:

  • Add network http://localhost:8669 to VeWorld to make this work

Files

  • dist/config.ts is updated on contract deployments and used for contract access in website

Todo

  • Improve configuration to easier toggle between networks (especially solo/testnet)
  • Streamline environment configuration, to avoid duplication
  • Simplify turbo configuration
  • Create a demo deployment

Deployments

CloudFlare Pages

  • Root dir: apps/website
  • Build command: npm run build
  • Output dir: dist
  • Environment variables must be encrypted (See Bug-Report on CloudFlare)