This repo contains assignments and lab work from the third year API unit in Strath
- Install PHP, Apache, MySQL and other relevant software from assignment.
- Create an index.php file with PHP code.
- Put the folder with relevant code into the
/Applications/MAMP/htdocs/
folder. - Open a site with the
http://localhost:8888/
followed by the folder name.
Install MAMP
https://www.webucator.com/how-to/how-install-start-test-mamp-on-mac-osx.cfm
Install Composer
https://martythomas.svbtle.com/getting-started-with-composer
Install Laravel
https://stackoverflow.com/a/32504749/4861086
Deploy to Heroku
https://devcenter.heroku.com/articles/getting-started-with-laravel
php artisan serve
When in the root folder of the laravel app.
Open the /public/ folder when using MAMP