A webapp that makes Skynet accessible to web browsers.
This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
dependabot-preview[bot] 814a9ab023
Merge pull request #114 from NebulousLabs/dependabot/npm_and_yarn/gatsby-transformer-sharp-2.4.1
2020-03-23 14:21:57 +00:00
.dependabot upgrade to prettier 2.0 2020-03-23 15:02:47 +01:00
.github/workflows upgrade to prettier 2.0 2020-03-23 15:02:47 +01:00
cypress upgrade to prettier 2.0 2020-03-23 15:02:47 +01:00
setup-scripts update scripts to support Sia v1.4.4 (#98) 2020-03-20 22:11:20 +01:00
src upgrade to prettier 2.0 2020-03-23 15:02:47 +01:00
static new terms 2020-02-21 11:10:10 +01:00
.eslintrc.json upgrade to prettier 2.0 2020-03-23 15:02:47 +01:00
.gitignore add cypress testing suite 2020-03-05 12:04:54 +01:00
.prettierignore skip nodejs server 2020-02-18 17:47:19 +01:00
.prettierrc upgrade to prettier 2.0 2020-03-23 15:02:47 +01:00
LICENSE Initial commit 2020-01-30 08:13:21 -05:00
README.md add GATSBY_API_URL param 2020-02-28 13:52:32 +01:00
cypress.json do not upload cypress video on success 2020-03-11 15:13:02 +01:00
gatsby-config.js upgrade to prettier 2.0 2020-03-23 15:02:47 +01:00
package.json Merge pull request #114 from NebulousLabs/dependabot/npm_and_yarn/gatsby-transformer-sharp-2.4.1 2020-03-23 14:21:57 +00:00
yarn.lock Merge pull request #114 from NebulousLabs/dependabot/npm_and_yarn/gatsby-transformer-sharp-2.4.1 2020-03-23 14:21:57 +00:00

README.md

Skynet Portal

Setup Guide

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:

  • siad configured as a Skynet Portal
  • an nginx webserver serving webportal

Web application

Development

Use yarn start to start the development server.

Production build

Use yarn build to compile the application to /public directory.

Build parameters

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

List of available parameters

  • GATSBY_API_URL: you can override the api url if it is different than the location origin