-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Yu Yamanaka edited this page Oct 5, 2015
·
5 revisions
-
Install nodejs on your OS (~> v0.12)
-
Clone this repository
git clone git@github.com:urelx/reactive-wikipedia-reader.git cd reactive-wikipedia-reader -
Install required tools and packages by
npmcommandnpm install -
You can start a server for development
node_modules/webpack-dev-server/bin/webpack-dev-server.js --hot --progress --colors -
Access to
http://localhost:8080/by your browser
-
Build (with NODE_ENV)
NODE_ENV=production npm run build-
You can check the application on your machine with builtin http-server
NODE_ENV=production npm start
-
-
Copy generated files under the
publicdirectory to your web server (or CDN)$ ls ./public/ assets/ favicon.ico index.html $ rsync -avhze ssh ./public/ deploy@example.com:/path/to/html/