-
Notifications
You must be signed in to change notification settings - Fork 0
Deploy Procedures
The first step of staging a deployment to development is to make sure that the master branch is ready for a release from the dev branch. When your dev branch is ready, follow the instructions below to merge master into dev (which keeps the master branch clean):
(on branch development)$ git merge master
(resolve any merge conflicts if there are any)
git checkout master
git merge --no-ff development
git push origin master
Now that master is ready to deploy, proceed to the dev server and run:
cd metasearch
git pull origin master
Next you will run these commands to remove the existing production deploy:
cd library-metasearch
mv build build.old
Next run the build command:
npm run build
There should now be a new minified version of the metasearch application living in the build directory, and the web server should already be pointing at it on http://search-dev.library.amnh.org. If everything is working, you can 'rm -rf build.old'. Please note this URL is currently only available to you if you are on internal AMNH networks.
Please contact IT to schedule a production deploy using standard call center procedure. When the dev server is tested and ready, IT will mirror dev into production at the URL http://search.library.amnh.org/. Please note this URL is currently only available to you if you are on internal AMNH networks.