Skip to content

Latest commit

 

History

History
executable file
·
57 lines (40 loc) · 1017 Bytes

README.md

File metadata and controls

executable file
·
57 lines (40 loc) · 1017 Bytes

Demo

The web app is deployed to below URL with connection to OAK Testnet

https://polkagrant.com

Installation

yarn

Run debug build with NextJs in localhost:3000

yarn next-dev

Folder Structure

/packages
    /landing
	/src		// Source code of pages and components
	    /containers
	    /pages
	    /common
	        /assets // Static resources e.g. images and fonts

Stack We Have Used

  1. Yarn Workspace
  2. React Js and Next Js
  3. Styled System and Styled Components
  4. Polkadot.js client library
  5. Tecent Cloud Serverless

Deployment

Build

To build a release version run below commands.

yarn next-build

// To check the build version locally run below command
// Not necessary if you don't want to check on your local.

yarn next-start

If you want to host the static html version of your nextjs project then run the below command to build static version

yarn next-export