Here're the full development prerequisites of Sierra project:
Following system environment is required for running sequence alignment:
POSTALIGN_PROGRAM
: path to the PostAlign commandFor host a production server of Sierra project, only Docker is required.
Full dependency list of each sub-project can be found in build.gradle
file
under each sub-project directory. Here's an unfinished list of main
dependencies:
Note: These dependencies are automatically installed by Gradle which is shipped with this repository. You don't need to install them manually.
Docker images are released publicly for each version of Sierra since 2.2.6. To pull and start a Sierra instance (this is how we host our production server):
docker pull hivdb/sierra:latest
docker run -it --publish=8111:8080 hivdb/sierra dev
After started the instance, the local Sierra web service is accessable through this URL:
http://localhost:8111/sierra/rest/graphql
Before Sierra 3.2, the entry-point was:
http://localhost:8111/WebApplications/rest/graphql
Sierra project uses Gradle to manage the dependencies, build and test. The easiest way to install the whole project is through Eclipse. Here're the steps:
There may be an issue that you can't find "Gradle Project" in step #2. In this case you can install the latest "Buildship Gradle Integration" with "Help" > "Eclipse Marketplace...". then you can import a Gradle project in Eclipse.
To start a development server:
make dev
If you find Sierra useful and wish to donate to the HIVDB team, you can do so through Stanford Make a Gift form. Your contribution will be greatly appreciated.
./scripts/release_stable_version <customized version name>