Developing a system to allow proxy credential usage to be tracked and audited within the NGS grid stack.
- Checkout PCA.
- Install a stable version of MongoDB. 1.6+
- Install the
bundler
gem. - Run
bundle install
in the root of the PCA checkout to install the required gems.
To run the service in test mode:
- Seed the database using
rake db:seed
- Start the service with
rails server
- Browse to http://localhost:3000
The application uses RSpec for testing. To run all the tests use.
rake spec
Ideally do not use JRuby for this as it, as of 1.5.3, is much slower than MRI or YARV for running tests.
The primary focus is on deployment as a WAR via JRuby. If you have not been using JRuby perform the following.
- Install JRuby
- Install the bundler gem.
- Run
bundle install
Then:
- Run
rake war
in the root of PCA. - Deploy the
pca.war
to your preferred Java application server.
This project is funded by JISC.