Skip to content

thehyve/ot-ui-apps

 
 

Repository files navigation

Open Targets Apps

This repository holds the Open Targets web applications.

Required stack

Running development

This project contains the Platform and Genetics web applications. To run both in development mode, you can run: yarn dev in the root directory.

To run only Platform yarn dev:platfrom

To run only Genetics yarn dev:genetics

Building production-ready bundle

From the root directory run: yarn build. This will generate on each application a production-ready bundle.

As same as development, you can run yarn build:platform or yarn build:genetics to scope the build only for one of the applications.

Building and using a Docker image

A Docker image hosting either the Open Targets Platform or Open Targets Genetics web application can be built using the following command:

docker build --tag {name:tag} --build-arg app={platform,genetics}

The app variable can be set to either platform or genetics, depending on which application should be built.

Once the image is built, the application can be hosted as such:

docker run -it --rm -p 80:80 {name:tag}

The application is then locally accessible in the browser at: http://localhost:80

Copyright

Copyright 2014-2018 Biogen, Celgene Corporation, EMBL - European Bioinformatics Institute, GlaxoSmithKline, Takeda Pharmaceutical Company and Wellcome Sanger Institute

This software was developed as part of the Open Targets project. For more information please see: http://www.opentargets.org

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Other 0.5%