Created
May 4, 2017 14:23
-
-
Save mainroach/7b9209d1ffe30e7063c00001ebb24571 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apt-get update | |
# Install tornado (and pip, which is needed) | |
apt-get install -y python-pip | |
pip install tornado | |
pip install futures | |
# Grab our specific scripts for the Service | |
sudo mkdir "/home/myservice/scripts/" | |
gsutil cp "gs://xxxxxxxxxxxxxx/myservice/service.py" "/home/myservice/scripts/service.py" | |
# install Image Magic, needed for this build | |
apt-get install -y imagemagick -y | |
# startup the service | |
sudo nohup python "/home/myservice/scripts/service.py" & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment