Created
May 23, 2017 05:12
-
-
Save whitehat101/58e08c2d6ec4d8d07bb98fe708c0c1e2 to your computer and use it in GitHub Desktop.
Capistrano inspired Factorio deploy
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
VER=0.13.10 | |
cd | |
god stop factorio-0.13 | |
mkdir factorio-$VER | |
( | |
cd factorio-$VER | |
curl -sL https://www.factorio.com/get-download/$VER/headless/linux64 | tar xz --strip-components=1 | |
ln -s ~/saves saves | |
) | |
rm ~/factorio | |
ln -s ~/factorio-$VER ~/factorio | |
god start factorio-0.13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment