Last active
August 29, 2015 13:57
-
-
Save starikovs/9921599 to your computer and use it in GitHub Desktop.
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
--- 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