Results 1 to 10 of 13

Thread: Getting Source Code from Git for Local Dev

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    Good, now in terminal, run

    Code:
    cd ~/www/imagehostnow.com
    composer install
    That will install all dependency packages required by the project.
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  2. #2
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    error result:.

    Last edited by sherlyk; 01-09-2015 at 05:42 AM.

  3. #3
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    First time i got error message while running the command:

    Code:
    cd ~/www/imagehostnow.com
    composer install
    The error message was like




    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.

  4. #4
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    Good. Always read error messages. It said

    Failed to download..
    That means composer can't download some files from github.com

    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

    Code:
    http://imagehostnow.dev
    See if there any change in error you got before.
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  5. #5
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    I got error page.


  6. #6
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    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.

  7. #7
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    To fix the permission error, run

    Code:
    chmod -R 777 ~/www/imagehostnow.com/app/storage/
    What we doing here is give everyone write permission (the user that runs apache need to write to storage folder).
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  8. #8
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    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.

  9. #9
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    Command run, i got result:


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •