Skip to content

Instantly share code, notes, and snippets.

@starikovs
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save starikovs/9921599 to your computer and use it in GitHub Desktop.
Save starikovs/9921599 to your computer and use it in GitHub Desktop.
--- get laravel.phar ---
wget http://laravel.com/laravel.phar
sudo mv laravel.phar /usr/local/bin/laravel
sudo chmod +x /usr/local/bin/laravel
which laravel
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5-curl
sudo apt-get install php5-mcrypt
sudo service apache2 restart
--- create project with laravel.phar ---
laravel new folder
composer update
sudo chown -R www-data:www-data app/storage/ (requires write access by the web server)
(or in Makefile)
sudo chown www-data:www-data app/storage/ app/storage/cache/ app/storage/logs/ app/storage/meta/ app/storage/sessions/ app/storage/views/
--- check config ---
app/config/app.php (url, timezone, locale)
--- paths ---
bootstrap/paths.php (configure framework directory paths)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment