This software creates an object store and user interface for the collection of mappings between human diseases and genetic variation as input by the ClinGen curation staff.
1. Install node version manager (nvm)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
2. source ~/.bashrc
Here are the node settings in .bashrc. The install adds it automatically
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
3. nvm --version
0.35.2
4. nvm install 10.16
5. nvm use 10.16
1. source ~/.bashrc
2. nvm use 10.16
Application is divided into to main branches Dev and Master. Dev is the main branch for refactor development and holds the most up-to-date stable code. After Dev branch has been sufficiently tested and deemed ready for production work loads it can be merged with master. Branches for development are created off of dev and named in the following pattern. 'Feature/{CORRESPONDING-JIRA-TICKET}/{DESCRIPTION}'. For example if you were creating a new branch to work on a new feature for variant approvals it might look like this: feature/CLINAWS-73/variant-approval. Ultimately the git strategy used by this project most closely resembles git flow as documented here
Steps to branching and merging
Clone the GCI-VCI-AWS repository/pull dev Follow the branching strategy above to switch to the feature specific branch for the story you are working on.
Follow the README found in gci-vci-serverless to set up serverless offline and dynamodb local. Replace the value in gci-vci-react/config.js with the localhost endpoint started by serverless offline
From the gci-vci-serverless directory run serverless info --stage dev
take the base endpoint URL (everything before /variants in the first line) and place that value in gci-vci-react/config.js
For development Amplify should no longer be needed.
gci-vci-serverless-samplePolicy.json
so that it represents the correct stage needed for the pipeline. This will consist of editing the Resources sections to change from gci-vci-*
to gci-vci-STAGE
gci-vci-serverless-samplePolicy.json