- cd into the root folder
- Run
npm install
to install the dependencies - Run
cp .env.template .env.development
to copy the environment variable file (this is only for locally, you will set the environment variable directly on platform if you are deploying instead) - If required, fill in the
.env.development
- Run
npm run dev
to start the website and access it vialocalhost:3000
- It is highly recommended to use Vercel, due to its ease of deployment and in terms of cost to traffic load, it is one of the more effective ones
- Ensure that no matter what deployment platform that you are using, you are to key in the environment variables, this is the part where you truly control. Without the environment variables, the website will not be interacting with the smart contract
- Once the deployment is complete, you may proceed to connect your purchased domain