-
External Package
-
Required Perl libs (install using cpan)
- Object::Tiny::RW
- JSON
- REST::Client
- Digest::SHA1
- Crypt::OpenSSL::RSA
- Crypt::OpenSSL::X509
- URI::Escape
- URI::QueryParam
- MIME::Base64
- HTTP::Request
- HTTP::Daemon
- LWP::UserAgent
- Net::OAuth
- URI::Escape
- Carp
- Data::Dumper
- Test::More
- Crypt::SSLeay
- Test::Deep::NoTest
- Storable
- Email::Valid
Perl libraries have built in perldocs. The authentication libraries use Globus Online's Nexus service for authentication. User accounts can be registered at:
https://www.globusonline.org/SignUp
There is a developer tutorial at:
http://www.kbase.us/developer-zone/tutorials/developer-tutorials/kbase-authentication/
======= 0. Start the VM (aka Magellan instance) and get on it as user ubuntu nova boot .... (options will change over time) ssh ubuntu@
(You will need an account on git.kbase.us--see https://trac.kbase.us/projects/kbase/wiki/SourceCodeVersionControlAndRelatedConfigurationManagement for instructions on how to obtain one.)
-
Clone the dev_container repo as root, then cd to dev_container/modules and (still as root) clone the auth repo. sudo bash cd /kb git clone [email protected]:/dev_container.git [Note: when it asks for your passphrase, use your personal kbase passphrase--you don't need to know root's.] cd dev_container/modules git clone [email protected]:/auth.git cd .. ./bootstrap /kb/runtime . user-env.sh
-
As root do a make deploy. This will install the perl libraries
-
Run tests for the perl libraries make test