Created
November 10, 2016 16:01
-
-
Save foursixnine/71ea418feb59085f75d648f70ac6e252 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cd to your local openQA webui repository | |
#cd suse.com/github.com/os-autoinst/openQA | |
#If the setup for the development scenario involves sharing /var/lib/openqa, it would be wise to have a shared group openqa, that will have write and execute permissions over said directory, so that geekotest user and the normal development user can share the environment without problems. | |
# chmod -R g+rwx /var/lib/openqa/ | |
# chgrp -R openqa /var/lib/openqa can’t fix | |
#start the local (yours) webui | |
script/openqa gru -m production run & sleep 1; | |
script/openqa-scheduler & sleep 1; | |
script/openqa-websockets & sleep 1; | |
script/openqa prefork -m production --proxy -i 100 -H 400 -w 10 & sleep 1; | |
#when you want to kill your dev instances | |
kill %1 %2 %3 %4 | |
#start your local worker with your own isotovideo | |
script/worker --no-cleanup --instance 1 --isotovideo /home/foursixnine/Projects/suse.com/github.com/os-autoinst/os-autoinst/isotovideo --verbose | |
for i in {1..4}; do | |
script/worker --instance $i --isotovideo /home/foursixnine/Projects/suse.com/github.com/os-autoinst/os-autoinst/isotovideo --verbose & | |
done; | |
kill %1 %2 %3 %4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kraih There you go