Git Product home page Git Product logo

encoded's Introduction

ENCODE Metadata Database

System Installation (OSX Catlina 10.15.2)

See Snovault OSX System Installation. ENCODE installs Snovault as it is a dependency. The System Installation is the same for both. However, you do not need to set up a running Snovault instance yourself.

Application Installation

For issues see Snovault OSX App Installation first.

  1. Create a virtual env in your work directory. This example uses the python module venv. Other options would also work, like conda or pyenv

    $ cd your-work-dir
    $ python3 -m venv encoded-venv
    $ source encoded-venv/bin/activate
    
  2. Clone the repo and install requirements

    # Make sure you are in the encoded-venv
    $ cd encoded
    $ pip install -r requirements.osx.txt
    
  3. Build Application

    $ make clean && buildout bootstrap && bin/buildout
    
  4. Run Application

    $ bin/dev-servers development.ini --app-name app --clear --init --load
    # In a separate terminal, make sure you are in the encoded-venv
    $ bin/pserve development.ini
    
  5. Browse to the interface at http://localhost:6543

  6. Run Tests

    # Make sure you are in the encoded-venv
    $ ./circle-tests.sh bdd
    $ ./circle-tests.sh indexing
    $ ./circle-tests.sh indexer
    $ ./circle-tests.sh not-bdd-non-indexing
    $ ./circle-tests.sh npm
    

Configuration Installation (In Progress)

The configuration repo is set by 'conf_dir = ./cloud-config' in the 'demo-config.ini' file.  The
'deploy.py' compiles yaml files from 'cloud-config' for use with aws instances.  There is a
very specific file structure at the moment.  We are working to generalize the use case.

To use a different directory for cloud configuration copy 'demo-config.ini' to '.dev-config.ini'.
Then change the 'conf_dir=../your-conf-repo/cloud-config' in the hidden file to your 
configuration directory.

'deploy.py' uses configuration in 'demo-config.ini:deployment' section.  Those are overwritten
by '.dev-config.ini:deployment' if it exists.  Currently command line arguments will be
overwritten by the ini files.  Eventaully that may be swtiched so the command line arguments
overwrite ini files.

For temporary backwards compatibility the default config repo is set to this repos cloud-config.
Eventually, the demo-config.ini will default to a demonstration configuration

encoded's People

Contributors

lrowe avatar forresttanaka avatar gabdank avatar hitz avatar nikhilrp avatar vsmalladi avatar bek avatar davisagli avatar cricketsloan avatar caseylitton avatar kjain21 avatar submarinesammitch avatar zoldello avatar jahilton avatar keenangraham avatar yunhailuo avatar katerose avatar chloetanlimco avatar emro avatar bonitalam avatar jmdavidson avatar jenjou avatar strattan avatar kilodalton avatar iyoungworth avatar khzlin avatar paul-sud avatar euriehong avatar aditin14 avatar jnau 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.