Skip to content

Instantly share code, notes, and snippets.

@MarcosBL
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save MarcosBL/9497640 to your computer and use it in GitHub Desktop.

Select an option

Save MarcosBL/9497640 to your computer and use it in GitHub Desktop.
Koding Laravel Setup
# Set root
sudo su
# Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
# Exit root
exit
# Install Laravel
cd ~/Web
wget https://github.com/laravel/laravel/archive/master.zip
unzip master.zip
mv laravel-master/* ./
rm -r laravel-master
composer install
chmod 777 -R app/storage/
# Configure Apache
sudo vi /etc/apache2/sites-enabled/000-default
# change all /var/www/ to /var/www/public
sudo service apache2 restart
# You have arrived.
open <yourusername>.kd.io in your browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment