The laravel

Written By alongxp on 11 Aug 2014 | 01:46

2014 is a hard time in my financial matters. I just realize that its also affect lot of people. my parents, my parent in law, my other relatives and other people that i know

i need to find another more earning, so i do lot of works. even its not relate with computer field.

build a web using wordpress is not enough nowdays... lots of kids can also do that. and they offer cheaper or i can say insane price that can kill other profesional web developer and web designer.

so i need to step ahead, build a web system by not using cms or costum code might be an option for me to survive.

but i had never build a stunning web from a scratch, if simple website using html, yes i do had built, lot of them, but it's not a good option nowdays. building a web using php, css, sql, javascript and etc is a better way. but thats is lots of step i need to walk before i can built a website using all the thing.

learn one after another make me tired and bored. i'm is a kind of person like gimme a problem, i'll find a way to solve it. that's how i learn new thing.



right now i had a web base system in my mind. but it's require lots of knowledge in lots of thing. thank god i just remember a mutual friend of mine used to use this cakephp, so i do some research of what is cakephp. it's a php framework. so perhaps its a good jump start for me.

so i read the documentation of cakephp, i do setup a server at ubuntu in my netbook(don't wanna bother my exist server of my blog alongxp.com). on progress of setting up the server, something cross in my mind.

what is the latest best php framework? i ask google and it's gave me lot of result and most of the web shows that laravel is the most used php framework. so i start to read the documentation and try to install. well... its not really suits for u dumb person like me. if you are experienced person developing in php might help, but for me. its kind a tough.

as i said earlier, first i read cakephp docs, then i just start with laravel. so i thought its might be the same. until i make this post, i'm still not sure what a i doing with it. even the installation itself is hard for me.

"First, download the Laravel installer PHAR archive. For convenience, rename the file to laraveland move it to /usr/local/bin. "

ok, right now i'm remoting my ubuntu from my windows pc using putty, so i asume the way to download the Laravel installer PHAR archive using command line is by using wget command. so wget http://laravel.com/laravel.phar is the way.

then move it to /usr/local/bin by using sudo mv laravel.phar /usr/local/bin/

rename the file to laravel? how the hell to do that in command line? so ask google again, the answer is same as move a file. if typical command in mv is mv this time, replace the with the name of the file. so sudo mv laravel.phar laravel is the way to rename the file using command line in ubuntu.. huhuhu...

but its not over yet. "Once installed, the simple laravel new command will create a fresh Laravel installation in the directory you specify. " ok, i just type laravel new and see what will happen. "laravel : command not found" returned

so i try with "laravel.phar" and i what i got is " -bash: /usr/local/bin/laravel.phar: Permission denied" i thought sudo is requied so i put sudo laravel.phar i got "sudo: laravel.phar: command not found" i got in return.

then some how i remember, that i has saw that i can't find back where do i saw, but it's not loss trying, so i try php laravel new and its the correct way. but it's require a name after the word new, so i follow the instruction, "or instance, laravel new blog would create a directory named blog containing a fresh Laravel installation with all dependencies installed." php laravel new blog. its seems work but this is what i got



hmmmm... ok.. maybe i'll come back later.

0 comments:

Same concept as my main blog, a personal blog that share some tips, personal story, news and interesting thing. But in English