Skip to content
LoeiFy edited this page Jul 17, 2017 · 11 revisions

Start

  1. Fork and install modules $ npm install

  2. Get your token

  3. Copy src/config.sample.js to src/config.js, and set the values

Development

The files

├── LICENSE
├── README.md
├── bin
│   ├── mirror.js               /* node cli */
│   └── zip.js
├── dist                        /* build files */
│   ├── build.fce125d9.js
│   ├── favicon.ico
│   └── index.html
├── package.json
├── postcss.config.js
├── release
│   └── mirror.zip
├── src
│   ├── api                     /* GrapgQL API request */
│   │   ├── comments.js
│   │   ├── error.js
│   │   ├── fetcher.js
│   │   ├── index.js
│   │   ├── issue.js
│   │   ├── issues.js
│   │   ├── loader.js
│   │   └── user.js
│   ├── config.js               /* the config */
│   ├── config.sample.js
│   ├── favicon.ico
│   ├── index.html
│   ├── index.js                /* main entry */
│   ├── router
│   │   ├── index.js
│   │   └── params.js
│   ├── style                   /* styles(postcss) */
│   │   ├── button.css
│   │   ├── comments.css
│   │   ├── error.css
│   │   ├── footer.css
│   │   ├── index.css
│   │   ├── post.css
│   │   ├── posts.css
│   │   ├── reset.css
│   │   ├── transition.css
│   │   └── user.css
│   ├── svg                     /* icon */
│   │   ├── back.svg
│   │   ├── email.svg
│   │   ├── github.svg
│   │   └── link.svg
│   ├── template
│   │   ├── comments.js
│   │   ├── footer.js
│   │   ├── issue.js
│   │   ├── issues.js
│   │   └── user.js
│   └── util
│       ├── diff.js
│       ├── observer.js
│       ├── posts.js
│       ├── time.js
│       ├── title.js
│       └── transition.js
└── webpack.config.js

10 directories, 51 files

Local test

$ npm start

Local server: http://127.0.0.1:1234

You can change the port in package.json

Build

$ npm run build
Clone this wiki locally