-
Notifications
You must be signed in to change notification settings - Fork 20
Home
Welcome to the webofneeds wiki!
- Building with Maven
- Setting up the Crypto
- Installation Instruction for setting up the node web application
- Setting up the owner web application
- Matching service
If you are having problems have a look at Troubleshooting.
- Goto http://nodejs.org/download/ and download the NodeJS version you need.
- install NodeJS
- 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
- Windows users need to install msygit(http://msysgit.github.io/) with the right option. see the bower installation instruction for the right option.
- 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
Install the following programs:
- jenkins (with plugins: git)
- maven 3.3.3
- jdk 8
- git
For frontend build install:
5) npm
6) nodejs
Execute the following commands:
7) sudo npm install jspm -g
8) sudo npm install -g bower
9) sudo npm install -g jspm-bower-endpoint
10) run the following command as a prebuild jenkins step: jspm registry create bower jspm-bower-endpoint