A setup guide with scripts to install prerequisites can be found in the setup-scripts directory.
Once the setup guide is complete you will be running:
spd
configured as a Public Portal- an nginx webserver serving webportal
Use yarn start
to start the development server.
Use yarn build
to compile the application to /public
directory.
You can use the below build parameters to customize your application. You can use them both on development and production builds.
- development example
GATSBY_API_URL=https://siasky.dev yarn start
- production example
GATSBY_API_URL=https://siasky.net yarn build
GATSBY_API_URL
: you can override the api url if it is different than the location origin