-
Notifications
You must be signed in to change notification settings - Fork 66
Quick Start
carterpage edited this page Aug 9, 2011
·
14 revisions
$ git clone git://github.com/skyscreamer/yoga.git yoga
Cloning into yoga...
remote: Counting objects: 2028, done.
remote: Compressing objects: 100% (774/774), done.
remote: Total 2028 (delta 676), reused 2027 (delta 676)
Receiving objects: 100% (2028/2028), 300.86 KiB, done.
Resolving deltas: 100% (676/676), done.
$ cd yoga
$ mvn install
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.134s
[INFO] Finished at: Tue Aug 09 08:48:23 EDT 2011
[INFO] Final Memory: 15M/81M
[INFO] ------------------------------------------------------------------------
Choose to start either the Spring MVC or RESTEasy demo, and follow the direction below:
$ cd yoga-demos/yoga-demo-springmvc/
$ mvn jetty:run
...
2011-08-09 08:49:57.117::INFO: Started [email protected]:8080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.
$ cd yoga-demos/yoga-demo-resteasy/
$ mvn jetty:run
...
2011-08-09 08:56:01.213::INFO: Started [email protected]:8080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.
Once the demo is started, load demo here: http://localhost:8080/
Click around on some of the links to get an idea for how selectors can control the data returned. Run the demo on the page to see the difference between Yoga and traditional REST navigation from a user perspective.