-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Installation for this project is basically the same as the usual Laravel installation, which you can find on their site. After doing going through the standard Laravel installation process, there are just a few small things you have to do before you can be up and running.
You'll have to create a database called udacityMessage and a user udacity to run this project. To do this, log into MySQL and run:
mysql> CREATE DATABASE udacityMessage;
mysql> GRANT ALL PRIVILEGES ON `udacityMessage`.* TO `udacity`@`localhost` IDENTIFIED BY `password`;
Modify the database credentials in app/config/database.php to reflect the database you created above.
Last thing we need to do is create the database tables. Do this by running:
php artisan migrate
And you're done!
If you want, you can optionally run phpunit to make sure everything runs as expected, or seed the database with some default seed data so you can test it out right away with php artisan db:seed --class=TestDatabaseSeeder.