Skip to content

Instantly share code, notes, and snippets.

@bugzbrown
Created January 5, 2020 09:50
Show Gist options
  • Save bugzbrown/ce160cd95643a168a3ecb7b10368c8a7 to your computer and use it in GitHub Desktop.
Save bugzbrown/ce160cd95643a168a3ecb7b10368c8a7 to your computer and use it in GitHub Desktop.
OctoberCMS Shell Installer script
echo "CREATE SCRIPT"
echo '#!/bin/bash' >> october_install
echo "mkdir \$1
cd \$1
php -r \"eval('?>'.file_get_contents('https://octobercms.com/api/installer'));\"
" >> october_install
chmod +x october_install
echo "MOVE TO usr/local/bin"
sudo mv october_install /usr/local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment