/waynamic

Primary LanguageJavaScript

waynamic

git clone https://github.com/Anonyfox/waynamic

angular frontend

  • 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)

neo4j database

  • 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 friendships
    • npm run db:media add some media to database
    • npm run db:interests initialize random interests
  • explore data if you want

express backend

  • 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