A blog build with Koa2 and React.
- Node.js v6.x
- MongoDB
- Koa
- Babel
- React
- Redux
- Webpack
- PostCSS
- Gulp
- install npm packages
$ npm install
- build app and server
$ npm run build
- run app
$ npm run pm2:start
- deploy Nginx
Install Nginx, and then copy rblog/nginx.conf
to /etc/nginx/conf.d/
.
Restart Nginx:
$ sudo service nginx restart