Skip to content

Starting Server for Laravel Web Application

Gopal Adhikari edited this page Feb 10, 2014 · 1 revision

Running

Launch a terminal in the project root directory for timelog and follow the given directions:

  1. If this is a fresh clone you need to run composer install in the current directory, otherwise go to next step
  2. Run php artisan migrate, this will make sure all pending migrations are committed to the database. Migrations are located in app/database/migrations directory
  3. Run php artisan db:seed, this will run the run function in files app/database/seed/*Seed.php which will populate the database with some dummy data
  4. Finally, run php artisan serve to start the server

Clone this wiki locally