Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Fork the Sage-Bionetworks SynapseWebClient repository into your own GitHub account: https://help.github.com/articles/fork-a-repo

  2. Clone the SynapseWebClient project down to your computer: git clone https://github.com/[YOUR GITHUB NAME]/SynapseWebClient.git
  3. Change into the proper directory with: cd SynapseWebClient
  4.  Set up upstream with: git remote add upstream https://github.com/Sage-Bionetworks/SynapseWebClient
  5. Bring down origin's develop branch locally: git checkout -b develop remotes/origin/develop
  6. Fetch and merge changes from the Sage Bionetworks repo, which was named upstream: 
    git fetch upstream
    git merge upstream
  7. Follow the instructions on the Platform Bootstrap. 
  8. Now, from an up-to-date clone of Synapse-Repository-Services on your local box:

    mvn clean install -Dorg.sagebionetworks.database.drop.schema=true

...

There are several technologies that we are currently utilizing in the portal. The following is a list of primers for each:

...

        <org.sagebionetworks.authenticationservice.privateendpoint>https://auth-staging.prod.sagebase.org/auth/v1</org.sagebionetworks.authenticationservice.privateendpoint>
        <org.sagebionetworks.authenticationservice.publicendpoint>https://auth-staging.prod.sagebase.org/auth/v1</org.sagebionetworks.authenticationservice.publicendpoint>
        <org.sagebionetworks.repositoryservice.endpoint>https://repo-staging.prod.sagebase.org/repo/v1</org.sagebionetworks.repositoryservice.endpoint>
        <org.sagebionetworks.fileservice.endpoint>https://file-staging.prod.sagebase.org/file/v1</org.sagebionetworks.fileservice.endpoint>
        <org.sagebionetworks.searchservice.endpoint>https://search-staging.prod.sagebase.org/</org.sagebionetworks.searchservice.endpoint>
        <org.sagebionetworks.portal.endpoint>http://127.0.0.1:8888/Portal.html</org.sagebionetworks.portal.endpoint>

How to point to prod

Set the repository endpoints in your maven settings.xml file by adding the following properties:       

<org.sagebionetworks.authenticationservice.privateendpoint>https://auth-staging.prod.sagebase.org/auth/v1</org.sagebionetworks.authenticationservice.privateendpoint>
<org.sagebionetworks.authenticationservice.publicendpoint>https://auth-staging.prod.sagebase.org/auth/v1</org.sagebionetworks.authenticationservice.publicendpoint>
<org.sagebionetworks.repositoryservice.endpoint>https://repo-staging.prod.sagebase.org/repo/v1</org.sagebionetworks.repositoryservice.endpoint>
<org.sagebionetworks.fileservice.endpoint>https://file-staging.prod.sagebase.org/file/v1</org.sagebionetworks.fileservice.endpoint>
<org.sagebionetworks.searchservice.endpoint>https://search-staging.prod.sagebase.org/</org.sagebionetworks.searchservice.endpoint>
<org.sagebionetworks.portal.endpoint>http://127.0.0.1:8888/Portal.html?gwt.codesvr=127.0.0.1:9997</org.sagebionetworks.portal.endpoint>

Pointing to prod is especially useful at transitions between releases, so that there is a stack that you can point at. 

 

Documenting complicated UI in the code

...