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.
2020-01-30 18:39:56 +00:00
|
|
|
# Skynet Portal
|
2020-01-31 19:10:50 +00:00
|
|
|
|
2020-02-28 12:52:32 +00:00
|
|
|
## Web application
|
|
|
|
|
|
|
|
Use `yarn start` to start the development server.
|
|
|
|
|
|
|
|
Use `yarn build` to compile the application to `/public` directory.
|
|
|
|
|
2020-06-22 09:54:01 +00:00
|
|
|
You can use the below build parameters to customize your web application.
|
2020-02-28 12:52:32 +00:00
|
|
|
|
|
|
|
- development example `GATSBY_API_URL=https://siasky.dev yarn start`
|
|
|
|
- production example `GATSBY_API_URL=https://siasky.net yarn build`
|
|
|
|
|
2020-06-22 09:54:01 +00:00
|
|
|
List of available parameters:
|
|
|
|
|
|
|
|
- `GATSBY_API_URL`: override api url (defaults to location origin)
|
|
|
|
|
|
|
|
## Setting up complete skynet server
|
2020-02-28 12:52:32 +00:00
|
|
|
|
2020-06-22 09:54:01 +00:00
|
|
|
A setup guide with installation scripts can be found in [setup-scripts/README.md](./setup-scripts/README.md).
|