First time i got error message while running the command:
The error message was likeCode:cd ~/www/imagehostnow.com composer install
Then retried the command again this time it worked fine without doing anything.
I got following result :
![]()
First time i got error message while running the command:
The error message was likeCode:cd ~/www/imagehostnow.com composer install
Then retried the command again this time it worked fine without doing anything.
I got following result :
![]()
Last edited by sherlyk; 01-09-2015 at 06:36 AM.
Good. Always read error messages. It said
That means composer can't download some files from github.comFailed to download..
That means one or more of the following
1. problem with your internet connection
2. github down
3. some thing wrong with connection from your pc and github, many thing can happen in between.
Now, go to web site
See if there any change in error you got before.Code:http://imagehostnow.dev
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
I got error page.
![]()
Good. This is because we need to create some missing folders. I will give instructions for that shortly.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
To fix the permission error, run
What we doing here is give everyone write permission (the user that runs apache need to write to storage folder).Code:chmod -R 777 ~/www/imagehostnow.com/app/storage/
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Next time, when you see this type of error, run that command. So make sure you read the error message, then only you know which command to fix that type of error.
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
Command run, i got result:
![]()
This is not result of the command.
After running the command, web site started working.
Now, you have cloned code from git few days ago. There are many commits (code changes) made to git repo after that. To get latest version, you need to run "git pull". This need to be run always, so your code is always upto date with what is on git.
Code:cd ~/www/imagehostnow.com git pull origin master
Become PHP Expert in 30 days
FreeMarriage.com - Free Online Matrimonial
FlashWebHost.com - Professional Web Hosting, Designing.
command run,
![]()
Bookmarks