Skip to content

briavers/laravel-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple case study created by Brian Verschoore

How to set up this application:

  1. Clone repository
  2. copy .env.example to .env
  3. add following line to your hosts file (/etc/hosts)
#laravel Test
127.0.0.1   mysql redis memcached
  1. Run composer install.
  2. Start Sail vendor/bin/sail up.
  3. Install and run npm. This can be done using sail (in another terminal window) vendor/bin/sail npm install & vendor/bin/sail npm run prod.
  4. Set the app key vendor/bin/sail artisan key:generate.
  5. Run the migrations using vendor/bin/sail artisan migrate optionaly you can add the --seed flag to directly get some example data.
  6. Create your 'admin' user using php artisan user:create and follow the instructions to provide a name, email and password.
  7. Finally, you can find your site at localhost.

Possible issues during setup

  1. please make sure no other docker or apache/nginx/mysql... services are running as this might cause certain ports to be already taken.

Usefull feature

  1. One of the packages installed barryvdh/laravel-ide-helper allows for easy properties generation, this can be done by running composer update-models once connection has been setup to a database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published