From: Jason Etheridge Date: Thu, 13 Nov 2014 15:54:29 +0000 (-0500) Subject: quick instructions X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=27e8a19e5a445df2ca70f6d7e14b44edcb4501ce;p=working%2Frandom.git quick instructions Signed-off-by: Jason Etheridge --- diff --git a/README b/README index 939ae5a7f..16c89dea4 100644 --- a/README +++ b/README @@ -1,8 +1,29 @@ -This repo is for putting random things in. +Quick way to install and test Evergreen using this branch: -You can push to it from your own repos without building off of the master branch, or anything else in it really. For example: +Install Debian Wheezy and make sure the account you're using has sudo privileges without having to specify a password. -git add random git@git.evergreen-ils.org:working/random -git push random local_branch:user/yourusername/local_branch +You can ensure the latter by entering: + + sudo visudo + +And changing the line corresponding to your user to resemble this line: + + accountusername ALL=(ALL) NOPASSWD: ALL + +Then after saving and exiting that file, create a script (for example, run_me.sh) containing these lines (with no indentation): + + #!/bin/bash + sudo apt-get -q -y install git-core + git clone git://git.evergreen-ils.org/working/random.git + cd random/ + git checkout -b wheezy origin/collab/phasefx/wheezy_installer + cd installer/wheezy + time sudo ./eg_wheezy_installer.sh -y -a -s -t + +Then to fire it off, do: + + chmod +x run_me.sh + ./run_me.sh + +This will install Evergreen master along with the stock test data, and run QA tests against Evergreen and that data. You can tweak the parameters passed to eg_wheezy_installer.sh to change this behavior. -Otherwise it follows the rules of working repos.