Last active
August 29, 2015 14:18
-
-
Save CodeBrauer/827f0309d853be4f900a to your computer and use it in GitHub Desktop.
mac os command script to install fastly bolt - just put in your htdocs/public_html and run it.
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/bash | |
# installs bolt cms to the path and opens the browser. | |
# works currently only on Mac OS X | |
# v0.2 @CodeBrauer | |
cd "$( dirname "${BASH_SOURCE[0]}" )" | |
clear | |
read -p "Path for your bolt-cms installation: " dir | |
mkdir -p "$dir" | |
cd "$dir" | |
curl -O http://bolt.cm/distribution/bolt-latest.tar.gz | |
tar -xzf bolt-latest.tar.gz --strip-components=1 | |
chmod -R 777 files/ app/database/ app/cache/ app/config/ theme/ extensions/ | |
rm bolt-latest.tar.gz | |
open http://localhost | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment