Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 591 Bytes

File metadata and controls

31 lines (21 loc) · 591 Bytes

README

Frontend for Watchdog (previously NewsdiffHK) project.

Install

The server depends on packages. The serving scripts needs to build into bundle before running. Run these commands.

npm install
npm run build

Run

To start the server:

npm run start

The server will prompt you to enter the API_BASE_URL. To suppress the prompt, you may also add API_BASE_URL to the environment like this:

API_BASE_URL=http://api.server.com:3000/api npm run start

Replace http://api.server.com:3000 with the appropriate host and port number.