Skip to content

youpin-city/youpin-web

Repository files navigation

YouPin (ยุพิน)

This is web frontend for YouPin open reporting platform.

Installation

$ npm install -g pm2
$ npm install

For Local Development

# On OSX, map port 80 -> 7000 so we can access on local mapped domain
# Need to edit /etc/hosts e.g. 127.0.0.1 local.www.youpin.city

$ npm start
# Watch change and rebuild continuously on another terminal window.

$ npm run watch

Build

$ npm run build