Code Monkey home page Code Monkey logo

agora's Introduction

Build Status Coverage Status

Agora

It's a methods repository!

Agora is written in Scala, uses Akka/Spray for its web framework, and is built using SBT.

Building and testing the Agora Web Service

To obtain and build the app, perform the following commands:

$ git clone https://github.com/broadinstitute/agora.git
$ cp -r hooks/ .git/hooks/ #this step can be skipped if you use the rsync script to spin up locally
$ chmod 755 .git/hooks/apply-get-secrets.sh #this step as well
$ cd agora
$ sbt package

You can additionally run unit test through:

$ sbt test

Make sure your config file isn't using the actual dev databases...

and integration test using:

$ sbt integrationTest

Building with docker

To build the broadinstitute/agora docker image, run

$ ./docker/build.sh jar -d build

This builds the agora jar, and copies it into the docker image (see Dockerfile).

Running Your Own Agora Web Service

Assuming you have already built as per the instructions above, create a file called "/etc/agora.conf", with the appropriate configuration information populated. An example, with defaults, can found in src/main/resources/reference.conf. Move application.conf to src/main/resources/ Start a mongo database. Finally, run the following command to start the server:

$ sbt run

Go to the specified web address in your favorite browser to test that it is operational.

Running Your Own Agora Web Service Using Docker

Generate Agora configurations using the configurations in FireCloud-Develop:

APP_NAME=agora \ 
    ENV=local \
    OUTPUT_DIR=./config \
    ../firecloud-develop/configure.rb

Launch the generated docker compose file:

docker-compose -p agora -f config/docker-compose.yaml up

The docker compose configuration is set to point to https://local.broadinstitute.org:30443/

agora's People

Contributors

abaumann avatar aednichols avatar ansingh7115 avatar asingh7115 avatar coreone avatar davidangb avatar dmohs avatar dvoet avatar gbggrant avatar helgridly avatar jacarey avatar jacmrob avatar jmthibault79 avatar kcibul avatar matthewbemis avatar rtitle avatar rushtong avatar skwalker avatar ursastutsman avatar vivster7 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.