Skip to content

wei-lee/fh-studio

 
 

Repository files navigation

Feedhenry Studio

Implementation in Node using Express.JS, templating and FHC.

Installation:

All that's required to run this project is NodeJS and npm.
packages.json looks after all dependencies.

1. install node.js, npm and redis

install node.js & npm (via installer for Windows & Mac, from source for linux) (see node.js website )

see packages.json (npm's configuration file) for details on packages used

2. install fh-studio

$ git clone git://github.com/feedhenry/fh-studio.git  
$ cd fh-studio
$ npm install -d
$ # optionally set FeedHenry backend using fhc target (default is http://apps.feedhenry.com)
$ fhc target http://somewhere.feedhenry.com
$ node server.js 
$ open http://0.0.0.0:3000/

Development Instructions

  • After making changes to any templates, run 'jake ct' to compile the templates.
  • modules which extend commandline, for example fhc, run, jake should be installed globally (use -g option with npm). Example : npm install fhc -g
  • consider using run.js : you won't have to restart server after changing the code.
  • //TODO: At present, the DustJS module needs to have this line removed to work with node 0.6:
    lib/server.js:6 require.paths.unshift(path.join(__dirname, '..'));

Important Resources & Reading

Here's a collection of docs pages on the libraries and packages used in fh-studio

Packages

No packages published

Languages

  • JavaScript 100.0%