2020-04-19 02:02:31 +09:00
|
|
|
## Status Tutorial
|
2020-06-11 09:19:08 +09:00
|
|
|
The landing page listing all the tutorial resources of the Status Network.
|
|
|
|
|
|
2020-06-17 01:46:10 +09:00
|
|
|
- https://tutorials.statusnetwork.com/
|
2020-06-10 01:40:27 +09:00
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
```
|
|
|
|
|
yarn install
|
|
|
|
|
yarn run start:dev
|
|
|
|
|
```
|
|
|
|
|
|
2020-06-11 09:17:43 +09:00
|
|
|
<br/>
|
|
|
|
|
|
2020-06-10 23:22:39 +09:00
|
|
|
## Production
|
2020-06-11 09:19:08 +09:00
|
|
|
|
|
|
|
|
Option 1: Local
|
2020-06-10 23:22:39 +09:00
|
|
|
```
|
|
|
|
|
yarn install
|
|
|
|
|
yarn run build
|
|
|
|
|
yarn run start
|
|
|
|
|
```
|
|
|
|
|
|
2020-06-11 09:19:08 +09:00
|
|
|
Option 2: Docker
|
2020-06-11 09:17:43 +09:00
|
|
|
```
|
|
|
|
|
docker build .
|
|
|
|
|
docker run -p 3000:3000 <image_id>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
2020-06-11 23:00:13 +09: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 23:22:39 +09:00
|
|
|
## References
|
2020-06-11 09:17:43 +09:00
|
|
|
- [Documentation](https://pankod.github.io/next-boilerplate/docs/deployment)
|