Git repository re-organization

3 views
Skip to first unread message

Gary Moore

unread,
Nov 20, 2010, 1:29:42 PM11/20/10
to athena-tix-devel
I just pushed out a big change to our github repository. All ATHENA code is now under the ATHENA project, no more scattering of code. This will make it easier to push, pull, and deploy changes.

Get the code here: https://github.com/fracturedatlas/ATHENA

A brief breakdown of our project structure:

athena:
- core: The core code of athena. This includes the DAO, some utility classes, and some default HTTP resource endpoints.
- helpers: code that enhances the core code but does not stand on its own.
- components: Use the core and the helpers to compose components. These components are built into .war files and deployed to glassfish.

How to build athena:

You'll need:
- Git
- Java 6
- Maven 2
- Glassfish 3.1
- Mysql 5, create a database called ATHENA-Test.
- pull down the code: git clone g...@github.com:fracturedatlas/ATHENA.git
- cd ATHENA
- mvn clean install -DskipTests=true

** YOUR BUILD MAY FAIL looking for the braintree jar. This is because our nexus repo is flunky and goes up and down at will. Until we fix it, you'll have to download the braintree dependency from here: http://www.braintreepaymentsolutions.com/docs/java

Install that jar into your local maven repo (the mvn error message will tell you how to do this).

How to run/deploy ATHENA:

To run an individual component, cd into components/<component_name> and type "mvn glssfish:run"

To deploy all the components, deploy the war files in components/*/target/*.war to your glassfish container

Tomorrow:

I'll be doing some more cleanup and more testing of the new setup. IF YOU FIND PROBLEMS please email me asap and I'll take care of them.

The Future:

I'll send out a "wtf do we do with this thing?" email.

We need help!
- Testing the above
- We could seriously use some auto deployment scripts
- Updating the readme's. I'll be doing this over the week.


--
Gary Moore | gary....@fracturedatlas.org | @gsmoore
Fork us on Github: http://github.com/fracturedatlas/
Join us on IRC: ##athena on irc.freenode.net

Reply all
Reply to author
Forward
0 new messages