Skip to content

cmpich/agr_prototype

 
 

Repository files navigation

Build Status

Alliance of Genome Resources Prototype

An initial prototype for the web portal of the Alliance of Genome Resources.

Prerequisites

Ensure you've installed pip and virtualenv and nodejs.

Create a virtualenv for isolating the python dependencies:

mkdir -p ~/.virtualenvs/agr_prototype
# The prototype currently requires Python2
virtualenv -p python2 ~/.virtualenvs/agr_prototype

Getting started

source ~/.virtualenvs/agr_prototype/bin/activate
make build
make index
make run

To run tests

source ~/.virtualenvs/agr_prototype/bin/activate
make tests

Development Environment Pro Tips

Assets are compiled using webpack. To enable hot module replacement in your development environment, run npm start while the dev server is running and refresh the page. Subsequent JavaScript changes will go to your browser as a "hot update" without refreshing.

You can run JavaScript unit tests automatically on each file change by running npm run test:watch.

JavaScript coding style is enforced with ESLint. The rules are configured in the .eslintrc file.

About

A Prototype for the Alliance of Genome Resources Web Portal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 47.0%
  • Python 46.0%
  • CSS 6.7%
  • Makefile 0.3%