Aeolus: How to get started

From Pmgwiki

(Difference between revisions)
Jump to: navigation, search
(Directions for checking out and running code)
(Directions for checking out and running code)
Line 6: Line 6:
# Check out code
# Check out code
#*svn co svn+ssh://<Your-Name-Here>@lirone.csail.mit.edu/space/svnroot/aeolus/src<br>
#*svn co svn+ssh://<Your-Name-Here>@lirone.csail.mit.edu/space/svnroot/aeolus/src<br>
 +
#* or use eclipse to check out the sources from the repo
# Build code
# Build code
#*find build.xml in the tree at shown by eclipse and use eclipse + ant build to build<br>
#*find build.xml in the tree at shown by eclipse and use eclipse + ant build to build<br>

Revision as of 17:50, 7 February 2011

Directions for checking out and running code

  1. Prerequisites
    • MySql database
    • java 1.6
  2. Check out code
    • svn co svn+ssh://<Your-Name-Here>@lirone.csail.mit.edu/space/svnroot/aeolus/src
    • or use eclipse to check out the sources from the repo
  3. Build code
    • find build.xml in the tree at shown by eclipse and use eclipse + ant build to build
  4. Create environment
    • Create databases (once)
      • AUTHORITY SERVER
        • CREATE DATABASE AeolusAuthority;
        • CONNECT AeolusAuthority;
        • GRANT ALL ON * TO 'aeolus'@'localhost' IDENTIFIED BY 'PFlate762!';
      • AUDITING (per auditing/MySQLPersistentLogging.java)
        • CREATE DATABASE AeolusLogging;
        • CONNECT AeolusLogging;
        • GRANT ALL ON * TO 'aeolusLogger'@'localhost' IDENTIFIED BY 'PFlate762!';
    • Start authority server and audit server
      • cd ~/workspace/aeolus/dist ./aeolus-server.jar &
  1. Run code
    • java -cp ~/workspace/aeolus/aeolus/dist/aeolus-rt.jar edu.mit.csail.aeolus.runtime.RuntimeLoader ~/workspace/aeolus/aeolus/dist/aeolus-medical.jar edu.mit.csail.aeolus.apps.testapps.HelloWorld

Note: aeolus-medical.jar contains all the classes in apps (or at least approximately)

Personal tools