Skip to content
fkleedorfer edited this page Jul 31, 2015 · 49 revisions

Welcome to the webofneeds wiki!

Installation

If you are having problems have a look at Troubleshooting.

Setting up Frontend Development Environment for Windows (AngularJS)

  1. Goto http://nodejs.org/download/ and download the NodeJS version you need.
  2. install NodeJS
  3. make sure that NodeJS is correctly installed by opening a Windows Command Console and typing node -v then enter. If it didn't work, check whether or not your node-directory are in your system-path-variable
  4. Windows users need to install msygit(http://msysgit.github.io/) with the right option. see the bower installation instruction for the right option.
  5. the maven install task will download and install bower and jspm for you that in turn will be used to install the owner-apps dependencies. However maven isn't yet configured to run jspm install as there's no easy integration via maven-frontend as with npm.

Tip: if you get the error "err Registry bower not found", you need to execute the following two commands:

npm install -g jspm-bower-endpoint
jspm registry create bower jspm-bower-endpoint

Tip: if the owner webapp is missing a lot of js files (look into the browser's js console and network tools), jspm didn't download the js dependencies. Go to webofneeds/webofneeds/won-owner-webapp/src/main/webapp and run node_modules/jspm/jspm.js install

Development Guidelines

Clone this wiki locally