How to Push the Minargon Website
- Switch to my dev branch e.g.
git checkout feature/mking_crt
- Verify that all changes work on local branch
- Commit changes to all files EXCEPT:
- runserver.py
- settings.conf
- Pull down the deploy version and resolve conflicts
git pull origin sbnd-deploy
(here, the origin is https://github.com/SBNSoftware/sbndaq-minargon.git)
- Resolve any changes, make sure to copy back over the correct settings.conf appropriate to your local version:
cp /home/nfs/munjung/dev_minargon/sbndaq-minargon/settings.conf ./
- export MINARGON_SETTINGS=
pwd
/settings.conf
- Push your feature branch
git push origin feature/mking_crt
- or
git push origin HEAD:feature/mking_crt
- Pull request merge your feature branch with sbnd-dev-deploy
- On the gpvm,
cd /web/sites/s/sbn-online.fnal.gov/cgi-bin-dev/minargon/sbndaq-minargon
git pull origin sbnd-dev-deploy
cd ../
touch minargon.wsgi
- Check
https://sbn-onlinedev.fnal.gov/cgi-bin/minargon/minargon.wsgi/introduction
for your changes
- Pull request sbnd-dev-deploy with sbnd-deploy
- On the gpvm,
cd /web/sites/s/sbn-online.fnal.gov/cgi-bin/minargon/
git pull sbn sbnd-deploy
touch minargon.wsgi
- Check
https://sbn-online.fnal.gov/cgi-bin/minargon/minargon.wsgi/introduction
for your changes