Script for running A custom Plone install on Nitrous.io
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
#!/bin/sh | |
# This assumes you installed Plone on Nitrous.io using these instructions | |
# http://blog.dbain.com/2013/07/plone-quickstart-on-cloud-in-less-than.html | |
# download this file and run it with the following command | |
# sh plone-builddev.sh | |
echo "running buildout with default buildout.cfg" | |
~/workspace/zeocluster/bin/buildout -c ~/workspace/zeocluster/buildout.cfg |
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
#!/bin/sh | |
# This assumes you installed Plone on Nitrous.io using these instructions | |
# http://blog.dbain.com/2013/07/plone-quickstart-on-cloud-in-less-than.html | |
# download this file and run it with the following command | |
# this shows the activites on client1 (useful for debugging) | |
# sh plone-debug.sh | |
tmux select-window -t plone:2 | |
tmux -2 attach-session -t plone |
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
#!/bin/sh | |
# This assumes you installed Plone on Nitrous.io using these instructions | |
# http://blog.dbain.com/2013/07/plone-quickstart-on-cloud-in-less-than.html | |
# download this file and run it with the following command | |
# sh plone-restart.sh | |
echo "Restarting Plone" | |
tmux kill-window -t 2 | |
tmux kill-window -t 1 | |
tmux new-window -t plone:1 -n 'Zeo' '~/workspace/zeocluster/bin/zeoserver fg' | |
tmux new-window -t plone:2 -n 'Client1' 'echo "restarting";~/workspace/zeocluster/bin/client1 fg' | |
tmux select-window -t plone:2 | |
tmux -2 attach-session -t plone |
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
#!/bin/sh | |
# This assumes you installed Plone on Nitrous.io using these instructions | |
# http://blog.dbain.com/2013/07/plone-quickstart-on-cloud-in-less-than.html | |
# download this file and run it with the following command | |
# sh plone-start.sh | |
tmux new-session -d -s plone | |
tmux new-window -t plone:1 -n 'Zeo' '~/workspace/zeocluster/bin/zeoserver fg' | |
tmux new-window -t plone:2 -n 'Client1' '~/workspace/zeocluster/bin/client1 fg' | |
tmux select-window -t plone:2 | |
tmux -2 attach-session -t plone |
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
#!/bin/sh | |
# This assumes you installed Plone on Nitrous.io using these instructions | |
# http://blog.dbain.com/2013/07/plone-quickstart-on-cloud-in-less-than.html | |
# download this file and run it with the following command | |
# sh plone-stop.sh | |
tmux kill-window -t 2 | |
tmux kill-window -t 1 | |
echo "Plone has been stopped" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment