Created
March 26, 2016 12:41
-
-
Save sivabudh/a6dc6f278d0dd2e13653 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
6 apt-get install php5-cli | |
7 php -v | |
8 add-apt-repository ppa:ondrej/php5 | |
9 apt-get update && sudo apt-get dist-upgrade | |
10 php -v | |
11 ls -al | |
12 php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php | |
13 php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === '41e71d86b40f28e771d4bb662b997f79625196afcca95a5abf44391188c695c6c1456e16154c75a211d238cc3bc5cb47') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
14 php composer-setup.php --install-dir=/usr/local/bin --filename=composer | |
15 php -r "unlink('composer-setup.php');" | |
16 apt-get install git | |
17 git clone https://github.com/codiumco/lumen_api.git | |
18 cd lumen_api/ | |
19 ls | |
20 composer install | |
21 curl localhost:8000/api/example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment