Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rcdelfin/2b7b1dc45afe051512daec5b496c6ae2 to your computer and use it in GitHub Desktop.
Save rcdelfin/2b7b1dc45afe051512daec5b496c6ae2 to your computer and use it in GitHub Desktop.

Revisions

  1. @idecardo idecardo revised this gist Sep 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion homestead-manual-install.md
    Original file line number Diff line number Diff line change
    @@ -49,7 +49,7 @@ Rename folder `0` to `6.3.0`
    ## Alternative

    Using [gitbash](https://git-scm.com/downloads), with `c:/users/idecardo/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead` directory:
    Using [gitbash](https://git-scm.com/downloads), within `c:/users/idecardo/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead` directory:

    ```
    touch metadata_url
  2. @idecardo idecardo revised this gist Sep 28, 2018. 1 changed file with 23 additions and 11 deletions.
    34 changes: 23 additions & 11 deletions homestead-manual-install.md
    Original file line number Diff line number Diff line change
    @@ -5,27 +5,29 @@ Laravel Homestead is an official, pre-packaged Vagrant box that provides you a w

    ## Download

    Download homestead box using this link:
    Download homestead box:

    ```
    https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
    https://app.vagrantup.com/laravel/boxes/homestead/versions/6.3.0/providers/virtualbox.box
    ```

    **NOTE:** You can change the version of homestead box. *Current version:* `0.5.0`.
    > You can change the version of homestead box. *Current version:* `6.3.0`.
    After downloading the box, you will get a file named `hc-download` rename it to something like `virtualbox.box` or whatever name you like. Just don't forget to include the `.box` extension.
    After downloading the box, rename it to `virtualbox.box` or whatever name you like.

    > Don't forget to include the `.box` extension.
    ## Vagrant

    Now, you can add the downloaded box to vagrant:
    Add the downloaded homestead box to vagrant:

    ```
    vagrant box add laravel/homestead file:///c:/users/idecardo/downloads/virtualbox.box
    ```

    **NOTE:** Change the path where you stored your downloaded box.
    > Change the path to where you stored your downloaded homestead box.
    ## Complete
    ## Update homestead box

    Navigate to vagrant directory:

    @@ -36,11 +38,21 @@ c:/users/idecardo/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead
    Create a `metadata_url` file and add this link:

    ```
    https://atlas.hashicorp.com/laravel/homestead
    https://app.vagrantup.com/laravel/homestead
    ```

    **NOTE:** Do not add a newline.
    > Do not add a newline.
    Rename folder `0` to `6.3.0`

    > `6.3.0` is your homestead box version.
    Rename folder `0` to `0.5.0`
    ## Alternative

    **NOTE:** `0.5.0` is you homestead box version.
    Using [gitbash](https://git-scm.com/downloads), with `c:/users/idecardo/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead` directory:

    ```
    touch metadata_url
    echo -n 'https://app.vagrantup.com/laravel/homestead' > metadata_url
    mv 0 6.3.0
    ```
  3. @idecardo idecardo created this gist Jul 7, 2016.
    46 changes: 46 additions & 0 deletions homestead-manual-install.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    # Getting Started

    Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine.
    [Read more...](https://laravel.com/docs/homestead)

    ## Download

    Download homestead box using this link:

    ```
    https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
    ```

    **NOTE:** You can change the version of homestead box. *Current version:* `0.5.0`.

    After downloading the box, you will get a file named `hc-download` rename it to something like `virtualbox.box` or whatever name you like. Just don't forget to include the `.box` extension.

    ## Vagrant

    Now, you can add the downloaded box to vagrant:

    ```
    vagrant box add laravel/homestead file:///c:/users/idecardo/downloads/virtualbox.box
    ```

    **NOTE:** Change the path where you stored your downloaded box.

    ## Complete

    Navigate to vagrant directory:

    ```
    c:/users/idecardo/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead
    ```

    Create a `metadata_url` file and add this link:

    ```
    https://atlas.hashicorp.com/laravel/homestead
    ```

    **NOTE:** Do not add a newline.

    Rename folder `0` to `0.5.0`

    **NOTE:** `0.5.0` is you homestead box version.