Last active
August 29, 2015 14:17
-
-
Save mdrmike/bdec0fb8ce534336a58f to your computer and use it in GitHub Desktop.
sculpin install on c9.io
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
#!bash | |
cd | |
mv workspace workspace-orig | |
mkdir workspace | |
sudo apt-get update | |
sudo apt-get -y install php5-curl # needed by composer to install dependencies | |
curl -O https://download.sculpin.io/sculpin.phar && chmod +x sculpin.phar | |
sudo mv sculpin.phar /usr/local/bin/sculpin | |
git clone https://github.com/sculpin/sculpin-blog-skeleton.git ~/workspace/sculpin | |
SCONFIG=$(cat ~/workspace/sculpin/app/config/sculpin_kernel.yml) | |
echo -e "sculpin:\n output_dir: `echo $HOME`/workspace\n${SCONFIG}" > ~/workspace/sculpin/app/config/sculpin_kernel.yml | |
cd ~/workspace/sculpin | |
scuplin generate | |
sculpin update | |
scuplin generate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment