I often have problems to remember what to do when I get to work on existing Laravel project.
Frist error I get is:
"../vendor/autoload.php): failed to open stream: No such file or directory in .."
To fix this, just run in Terminal
Then setup .htaccess.Frist error I get is:
"../vendor/autoload.php): failed to open stream: No such file or directory in .."
To fix this, just run in Terminal
Next thing, in config folder to setup local configuration (database and other settings), I usually do like here: http://laravel.com/docs/configuration#environment-configuration.
After setting up the conf next id database. Create database and then run
to create tables in your database.
And
to seed data.
And now should be all running.
To set up mail work on localhost and not to send real mails ...app\config\local\mail.php
return array( 'driver' => 'mail',);
No comments:
Post a Comment