Build a Blog with Laravel, is the title of this Tutorial. This will be based on info found on the web. I am not a programmer, but I taught myself php and html a very long time ago. With the fast changes happening, I lost myself in the PHP & MySQL area very badly. So I am looking at other tutorials, to learn again. But it’s going to be easier this time. after all there is a lot of info on the nowadays. WRONG!!! RIGHT???
Both could be true depending on the point of view. Wrong – because most is old, leaving only a few that work or are not finished.
Be it Video Tutorials or in a written form. I will keep a list of the various tools I use and post them soon.
Getting started with Laravel is actually real simple.. It does seem to cause problems on Debian or Debian based systems. The reason is, from my point of view, that there’s nothing noted about Debian on the Laravel website.
The problem I had was getting an error like this:
laravel: command not found
I followed the steps from the Laravel Website
composer global require "laravel/installer" laravel new blog
Let’s fix this!
To start with Laravel, we first need to set up a running LAMP server. If you don’t have one setup yet, read the LAMP setup on Debian tutorial. It is a simple and short tutorial.
Install laravel installer,
composer global require "laravel/installer"
Edit environment config,
nano .bashrc
Then add,
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
Then reload path config,
source ~/.bashrc
Now I was able to start the Blog Project.
The post Build a Blog with Laravel – Part1 Get Started appeared first on HubShark™.