Versions Compared

Key

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

...

To deploy <version> to production

Code Block
languagebash
# cd thiss-js && git pull
# git checkout <version>
# make clean
# make BASE_URL='https://service.seamlessaccess.org/' COMPONENT_URL='https://service.seamlessaccess.org/cta/' MDQ_URL='https://md.seamlessaccess.org/entities/' PERSISTENCE_URL='https://service.seamlessaccess.org/ps/' SEARCH_URL='https://md.seamlessaccess.org/entities/' STORAGE_DOMAIN='service.seamlessaccess.org' LOGLEVEL='error' DEFAULT_CONTEXT='seamlessaccess.org' WHITELIST=$WHITELIST build_in_docker
# rsync -avz --exclude .git --exclude CNAME --exclude README.md --delete dist/ ../origin-service/
# cd ../origin-service
# git diff

The final "git diff" should show a set of differences against the currently deployed version. Now commit and push this version to origin-service:

...

To deploy <version> to beta (use.thiss.io)

Code Block
languagebash
# cd thiss-js && git pull
# git checkout <version>
# make clean
# make BASE_URL='https://use.thiss.io/' COMPONENT_URL='https://use.thiss.io/cta/' MDQ_URL='https://md.thiss.io/entities/' PERSISTENCE_URL='https://use.thiss.io/ps/' SEARCH_URL='https://md.thiss.io/entities/' STORAGE_DOMAIN='use.this.io' LOGLEVEL='error' DEFAULT_CONTEXT='thiss.io' build_in_docker
# rsync -avz --exclude .git --exclude CNAME --exclude README.md --delete dist/ ../origin.thiss.io/
# cd ../origin.thiss.io
# git diff

The final "git diff" should show a set of differences against the currently deployed version. Now commit and push this version to origin.thiss.io:

...