Hi Amila After installing all the required components. instead of grunt test,run grunt server , there might be some test case failure as mentioned here
"Uncaught ReferenceError: require is not defined at /Users/thejaka/development/apache/airavata/sandbox/gsoc2013/app/scripts/NodeSubscriber.js:26" the application is not able to register the require function, may be due to some missing component, may be socket.io is not getting properly loaded. anyways if you run "grunt server", you can launch the xbaya UI Regards Sanchit Aggarwal MS Research (Computer Science) Center for Visual Information Technology IIIT Hyderabad, Gachibowli Contact - 9581417330 On Wed, Jul 31, 2013 at 12:17 AM, Amila Jayasekara <[email protected]>wrote: > After installing "compass" I am getting error in [2]. > Anyhow I am more interested in point 3 in my initial mail. > i.e. "How can I deploy and start XBaya web UI ?" > > Thanks > Amila > > [2] > [~/development/apache/airavata/sandbox/gsoc2013]>grunt test > Running "clean:server" (clean) task > Cleaning ".tmp"...OK > > Running "concurrent:test" (concurrent) task > > Running "coffee:dist" (coffee) task > > Running "coffee:test" (coffee) task > > Done, without errors. > > Running "compass:dist" (compass) task > directory .tmp/styles/ > create .tmp/styles/main.css > > Running "compass:server" (compass) task > unchanged app/styles/main.scss > > Done, without errors. > > Running "connect:test" (connect) task > Started connect web server on localhost:9000. > > Running "karma:unit" (karma) task > INFO [karma]: Karma server started at http://localhost:8080/ > INFO [launcher]: Starting browser Chrome > WARN [watcher]: Pattern > "/Users/thejaka/development/apache/airavata/sandbox/gsoc2013/test/mock/**/*.js" > does not match any file. > INFO [Chrome 28.0 (Mac)]: Connected on socket id UmdTRpXKzt8Tf7sY5X-T > Chrome 28.0 (Mac) ERROR > Uncaught ReferenceError: require is not defined > at > /Users/thejaka/development/apache/airavata/sandbox/gsoc2013/app/scripts/NodeSubscriber.js:26 > Chrome 28.0 (Mac): Executed 0 of 0 ERROR (0.085 secs / 0 secs) > Warning: Task "karma:unit" failed. Use --force to continue. > > Aborted due to warnings. > > > On Tue, Jul 30, 2013 at 12:11 PM, Sanchit Aggarwal < > [email protected]> wrote: > >> Hi Amila >> >> You have to install ruby gems : compass. >> We can have a script for the initial setup but we hope to include it in >> maven build during the integration of all the sub-projects. >> >> 1. "gem install compass" will do the necessary. >> >> Regards >> Sanchit Aggarwal >> MS Research (Computer Science) >> Center for Visual Information Technology >> IIIT Hyderabad, Gachibowli >> Contact - 9581417330 >> >> >> >> On Tue, Jul 30, 2013 at 9:21 PM, Amila Jayasekara < >> [email protected]> wrote: >> >>> Hi All, >>> >>> I was trying to build and run XBaya web ui currently in gsoc2013 folder >>> in sandbox. I was following instructions in [1]. >>> >>> I am having following concerns; >>> 1. According to [1] we need to install few software components before >>> building the source. Can we compile a script to setup initial environment ? >>> 2. When I run "grunt test", I get following output; >>> >>> [~/development/apache/airavata/sandbox/gsoc2013]>grunt test >>> Running "clean:server" (clean) task >>> >>> Running "concurrent:test" (concurrent) task >>> >>> Running "coffee:dist" (coffee) task >>> >>> Running "coffee:test" (coffee) task >>> >>> Done, without errors. >>> Warning: Running "compass:dist" (compass) task >>> Warning: You need to have Ruby and Compass installed and in your >>> system PATH for this task to work. More info: >>> https://github.com/gruntjs/grunt-contrib-compass Use --force to >>> continue. >>> >>> Aborted due to warnings. Use --force to continue. >>> >>> Aborted due to warnings. >>> >>> ==================================================================== >>> >>> Above warning complains about "ruby". Do we need ruby to run tests ? >>> >>> 3. How can I deploy and start XBaya web UI ? (Couldnt find any wiki link >>> relevant to this, other than a registry api java script client) >>> >>> Thanks >>> Amila >>> >>> [1] https://svn.apache.org/repos/asf/airavata/sandbox/gsoc2013/README.md >>> >> >> >
