Commands
- 1. commands
========
curl -X POST -H "Content-Type: application/json" -d
'{"email":"joe@doe.com","password":"secret"}' http://localhost/app/laravel/login
curl -X GET http://localhost/app/laravel/api
curl -X GET -H "X-Auth-
Token:a358dafd256cb5b26a944eacc1c7428a97f6d1e079c3f1972696f1bea7fff099"
http://localhost/app/laravel/api
ssh -i Laravel.pem ubuntu@54.69.86.23
sudo chmod 7777 /var/www
sudo service apache2 restart
chmod -R 777 app/storage
   - Installing Apache    -
$ sudo apt-get install apache2
   - Installing Latest PHP    -
$ sudo add-apt-repository ppa:ondrej/php5
$ sudo apt-get update
$ sudo apt-get install php5 libapache2-mod-php5
   - Installing PHP Mcrypt ext.    -
$ sudo apt-get install php5-mcrypt
   - Installing MYSQL    -
$sudo apt-get install mysql-server
   - Installing GIT    -
$ sudo apt-get install git-core
   - Laravel GIT Repo    -
https://github.com/laravel/laravel.git
   - Installing Composer    -
curl -sS https://getcomposer.org/installer | php
Add content and push
====================
echo "My GitHub Page" > index.html
git add index.html
git commit -a -m "First pages commit"
git push origin gh-pages