Following are the minimum tested versions for the tools and libraries you need for running the app:
-
Nodejs: v14.17.5 or newer
-
Yarn: v1.22.5 or newer
-
Npm: v7.21.0 or newer
First, clone the repo via git:
git clone --depth 1 --single-branch --branch main https://github.com/particle4dev/acala-frontend-task.git
And install dependencies with yarn.
cd acala-frontend-task
yarn install
To start the webapp in local, please run:
yarn dev
Open http://localhost:3000 with your browser to see the result.
To build the app:
yarn build
To export the app to static HTML which can be serve by backend task, please run:
yarn export
and see the result in out
folder
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.