2020-04-18 17:02:31 +00:00
|
|
|
## Status Tutorial
|
2020-06-11 00:19:08 +00:00
|
|
|
The landing page listing all the tutorial resources of the Status Network.
|
|
|
|
|
2020-06-16 16:46:10 +00:00
|
|
|
- https://tutorials.statusnetwork.com/
|
2020-06-09 16:40:27 +00:00
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
```
|
|
|
|
yarn install
|
|
|
|
yarn run start:dev
|
|
|
|
```
|
|
|
|
|
2020-06-11 00:17:43 +00:00
|
|
|
<br/>
|
|
|
|
|
2020-06-10 14:22:39 +00:00
|
|
|
## Production
|
2020-06-11 00:19:08 +00:00
|
|
|
|
|
|
|
Option 1: Local
|
2020-06-10 14:22:39 +00:00
|
|
|
```
|
|
|
|
yarn install
|
|
|
|
yarn run build
|
|
|
|
yarn run start
|
|
|
|
```
|
|
|
|
|
2020-06-11 00:19:08 +00:00
|
|
|
Option 2: Docker
|
2020-06-11 00:17:43 +00:00
|
|
|
```
|
|
|
|
docker build .
|
|
|
|
docker run -p 3000:3000 <image_id>
|
|
|
|
```
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
2020-06-11 14:00:13 +00:00
|
|
|
## Deploy
|
|
|
|
Update `org` and `repot` in `/scripts/deploy.js`.
|
|
|
|
```
|
|
|
|
yarn run build
|
|
|
|
yarn run export
|
|
|
|
touch out/.nojekyll
|
|
|
|
yarn run deploy
|
|
|
|
```
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
2020-06-10 14:22:39 +00:00
|
|
|
## References
|
2020-06-11 00:17:43 +00:00
|
|
|
- [Documentation](https://pankod.github.io/next-boilerplate/docs/deployment)
|