What I need
I want to check if a blank Laravel project is working properly on the development server, ie, I just want to see if it loads the view at least, and then I'm going to run some tests.
What I did
I downloaded and installed Laravel locally, set the app/path
to config/app.php
and passed the server folder. When I accessed the public folder I received a blank screen with no errors. Below is the code exchange I made in the route file. I changed him to play a Hello World
screen and it worked.
OBS : It is working normally on my computer, calling the default Laravel 5 view.
The code tested
Route::get('/', function()
{
return 'Hello World';
});
The default code
Route::get('/', 'WelcomeController@index');
Config / App.php
'url' => 'http://endereco_do_servidor/pasta/pasta_meu_projeto/',
Permission in folder
Just to inform: The project is as follows on the http://endereco_do_servidor/pasta/pasta_meu_projeto/',
server. I have the ip address of the development server, inside it there are 3 folders with each type of project, inside one of these folders there are other folders, each one being for different projects, and one of those is the project I just created. p>
I was informed that I needed to give the necessary permissions, so I asked to give chmod 775 to all the folders inside it.
find . -type d -exec chmod 775 {} \;