Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 559 Bytes

INSTALL.md

File metadata and controls

35 lines (31 loc) · 559 Bytes
  1. Prepare Environment

  • nodejs - tested on >= 0.10.x
  • npm - texted on 1.2.x
  1. Clone Project and Install

git clone https://github.com/g0v/twangry.git
cd twangry/
npm install
  1. Config

Set environment variable for nodejs running

export NODE_ENV=production

create or copy conf/<node_env>.json

vim conf/production.json

config base dir

  "base": "/home/nodejs/node/twangry",
  "parser": "zhdateparser",
  1. prepublish

./prepublish