From 9c703d6b501030f1e8c3ec126a82b60be99323f4 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 7 Oct 2020 11:34:01 -0400 Subject: [PATCH] install instructions --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2cd69a8 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +- Make sure you have MAMP and Postgres installed +- Download the compser installation file: https://getcomposer.org/composer-stable.phar +- In Terminal, go run: `mv ~/Downloads/composer-stable.phar /usr/local/bin/composer` +- `chmod 755 /usr/local/bin/composer` +- `composer global require laravel/installer` +- `echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bash_profile` +- `ls /Applications/MAMP/bin/php` and take note of the most recent version +- `echo 'export PATH="/Applications/MAMP/bin/php/php7.4.2/bin:$PATH"' >> ~/.bash_profile` substituting your latest version of php for `php7.4.2` +- close terminal window and open a new one +- go to where you want your app to be and run `laravel new blog` substituting the name of your app for `blog` +- `cd` into your app's dir +- run `php artisan serve` +- go to http://localhost:8000/