git clone https://github.com/Anonyfox/waynamic
-
install
npm install brunch -g
(frontend compiler)npm install bower -g
(frontend package manager)
-
build (execute commands in /frontend directory)
npm install
(get npm packages from package.json)bower install
(get bower packages from bower.json)brunch watch --server
(compile and watch for changes)
-
view page http://localhost:4343/ (keep shure that the backend server has been startet)
-
install
- first keep shure to have installed jvm 1.7 or higher wiki
brew install neo4j
(on osx via homebrew) or install it from neo4j homepage (requires at least version 2.1.3)neo4j install
(initial)
-
start
neo4j start
-
build dataset (execute these commands in /backend directory)
npm run db:clear
npm run db:create
add users and set friendshipsnpm run db:media
add some media to databasenpm run db:interests
initialize random interests
-
explore data if you want
curl -v http://localhost:7474/db/data/
- http://localhost:7474/browser/
- you will find some example cypher queries in the wiki
-
install
npm install coffee-script -g
(coffeescript)npm install nodemon -g
(node monitor, restart if files have changed)
-
build (execute these commands in /backend directory)
npm install
(get npm packages from package.json)
-
run (execute one these commands in /backend directory)
nodemon server.coffee
(restart if files have changed)coffee server.coffee
(start once)
-
test (execute these commands in /backend directory)
npm test
(run test once)npm run tester
(run test an watch for changes)
-
explore proxy api
-
explore api used by frontend
- all users
- one user (replace userid in the url by an real userid)
- recommendations for one user (replace userid, feedback via post-redirect-get)