Phala-Network / apps-ng

Yet another UI for Phala Network.
https://app.phala.network
Apache License 2.0
17 stars 27 forks source link

Experimental Apps for Phala Network

Preparation

To install dependencies:

yarn install

Make sure you have node.js >= v12 and yarn 2 installed.

Development

To start a development server at http://localhost:3000:

yarn dev

To build a production release:

yarn build

To start a production server with the release built:

yarn start

To export the production release built for static deployment:

yarn workspace @phala/app exec next export

And the output should be found in packages/app/out.

Release

Please follow the above instructions to build a production ready frontend. There are some additional environment variables to control the default API endpoints:

For example, for Phala Network PoC-3, we build with:

APP_PHALA_URL=poc3.phala.network yarn build