28/01/2014

[TUT] Install Laravel on Koding (Ubuntu server)

Step 1. Install Composer


$ curl -s http://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer.phar
And if you're even more lazy, like me, you can create an alias:
$ alias composer='/usr/local/bin/composer.phar'
This way you can invoke composer with just composer
Update: Composer now offers another method as well on the website:
$ curl -sS https://getcomposer.org/installer | php
$ (sudo) mv composer.phar /usr/local/bin/composer
Step 2. Install Laravel by Terminal

composer create-project laravel/laravel your-project-dir-here --prefer-dist

ex: composer create-project laravel/laravel /home/toanalien/Web/laravel --prefer-dist





Không có nhận xét nào:

Đăng nhận xét