Skip to content
This repository was archived by the owner on Dec 8, 2020. It is now read-only.

Setup laravel build from scratch

We Create Digital edited this page May 29, 2018 · 2 revisions

Installation steps:

You need PHP 7.1+ to run Laravel but also make sure cli runs 7.1+ by default when running artisan.

  1. Clone this repository and run composer install followed by composer update
  2. Create a database on phpmyadmin called fixometer_laravel and a host (e.g. fixometer-laravel.test) in MAMP which points to the public folder
  3. Duplicate the .env.example file and rename the new file to .env
  4. Then add the necessary details to the new .env file, i.e. the DB_DATABASE variable will be set to fixometer_laravelas mentioned in a previous step, also the APP_URL field will be the URL that you created for your host in MAMP (which would be http://fixometer-laravel.test:8888 if you used the example in step 2)
  5. Then run php artisan migrate
  6. Finally install all necessary node modules by using npm install; followed by npm run dev to compile assets

Clone this wiki locally