Skip to content

Instantly share code, notes, and snippets.

@aligos
Created January 14, 2019 10:30
Show Gist options
  • Save aligos/b00128a29d66113c0a113c7a8cda4337 to your computer and use it in GitHub Desktop.
Save aligos/b00128a29d66113c0a113c7a8cda4337 to your computer and use it in GitHub Desktop.

Step to run laravel on your local

  1. Pull the git, and select the branch
  2. To run php artisan migrate:status to check whether your local database is inline with the code specify db
  3. If not, run php artisan migrate to run throug all laravel migrations to update your local db
  4. To remember sometimes need to seed, php artisan db:seed whenever (request to export from production server)
  5. Now you can run php artisan serve
  6. To update your client HOST, to your local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment