Snippets Library

Warning

MAKE SURE YOU HAVE SSH KEYS INSTALLED BEFORE DOING THE FOLLOWING!

Installing the snippets library

  1. cd /opt
  2. sudo chmod 777 . (don't forget the full stop)
  3. mkdir Projects
  4. cd Projects
  5. git clone gitBare:~/repos/snippets-edmondscommerce
  6. /opt/Projects/snippets-edmondscommerce/Cluster/shellscripts/desktop/runonce.bash
  7. source ~/.bashrc

You can then test it's worked by running containerList

Editing the Snippets Library

  1. Make your changes on your local copy of the snippets library.
  2. Commit these changes and push them.
  3. Run snippets-edmondscommerce/Cluster/shellscripts/desktop/gitPullSnippetsOnClusters.bash to pull your changes up to the clusters