Skip to content

Instantly share code, notes, and snippets.

@CodeBrauer
Last active August 29, 2015 14:18
Show Gist options
  • Save CodeBrauer/827f0309d853be4f900a to your computer and use it in GitHub Desktop.
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.
#!/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