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
<?php | |
### --- Snip --- ### | |
App::after(function($request, $response) | |
{ | |
// HTML Minification | |
if(App::Environment() != 'local') | |
{ | |
if($response instanceof Illuminate\Http\Response) |
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
# laravel new-app | |
alias laravel="git clone -o laravel -b develop https://github.com/laravel/laravel.git" | |
alias artisan="php artisan" | |
alias migrate="php artisan migrate" | |
alias serve="php artisan serve" | |
alias dump="php artisan dump" | |
alias t="phpunit" | |
# Generators Package |
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
# Login to your Amazon EC2 Instance via SSH. | |
# If you are logged in as root, you don't need to use the sudo command in the commands below. | |
# Update the current packages installed on the system | |
sudo yum upgrade | |
# Install the required packages before installing Apache / MySQL and PHP | |
sudo yum install gcc gcc-c++ autoconf automake pcre-devel \ | |
libxml2-devel bzip2-devel libcurl-devel freetype-devel \ | |
openldap-clients cyrus-sasl-devel openldap-devel \ |
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
# To install C/C++ Compilers, AutoConf and AutoMake | |
yum install gcc gcc-c++ autoconf automake -y | |
# Install Perl Compatible Regular Expressions Libraries (PCRE) | |
yum install pcre-devel -y | |
# Download Apache Source from Apache's Website | |
# http://httpd.apache.org/download.cgi | |
wget http://www.us.apache.org/dist/httpd/httpd-2.x.x.tar.gz |
NewerOlder