You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| README.md | 5 years ago | |
README.md
- 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/composercomposer global require laravel/installerecho 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bash_profilels /Applications/MAMP/bin/phpand take note of the most recent versionecho 'export PATH="/Applications/MAMP/bin/php/php7.4.2/bin:$PATH"' >> ~/.bash_profilesubstituting your latest version of php forphp7.4.2- close terminal window and open a new one
- go to where you want your app to be and run
laravel new blogsubstituting the name of your app forblog cdinto your app's dir- run
php artisan serve - go to http://localhost:8000/