Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c9f1152

Browse files
Update for L5.3
1 parent c012502 commit c9f1152

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

‎Installing-Laravel.md‎

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Installing Laravel
22
==================
33

4-
This guide is an expanded version of the [Laravel 5.1 Homestead guide](http://laravel.com/docs/5.1/homestead) with modifications specific to Windows 7-10.
4+
This guide is an expanded version of the [Laravel 5.3 Homestead guide](http://laravel.com/docs/5.3/homestead) with modifications specific to Windows 7-10.
55

66
Assumptions
77
-----------
@@ -24,18 +24,19 @@ This method uses a VirtualBox VM running Ubuntu, called _Homestead_, to encompas
2424
5. It's easy to have completely different configurations (e.g. php 5.4 with Apache, or php FPM 5.5 with nginx) available on your machine without having to worry about conflicts.
2525

2626
The Homestead VM gives you the following components pre-installed:
27-
* Ubuntu 14.04
28-
* PHP 5.6
29-
* HHVM
27+
* Ubuntu 16.04
28+
* Git
29+
* PHP 7.1
3030
* Nginx
3131
* MySQL
32+
* MariaDB
33+
* Sqlite3
3234
* Postgres
33-
* Node (With Bower, Grunt, and Gulp)
35+
* Composer
36+
* Node (With Yarn, PM2, Bower, Grunt, and Gulp)
3437
* Redis
3538
* Memcached
3639
* Beanstalkd
37-
* Laravel Envoy
38-
* Fabric + HipChat Extension
3940

4041
Over time you can modify this to your requirements and repackage the changes to your own, custom Vagrant box.
4142

@@ -106,7 +107,7 @@ See [full list of Vagrant plugins](https://github.com/mitchellh/vagrant/wiki/Ava
106107

107108
2. **Optional** Manual Download of Vagrant Box
108109

109-
If this takes too long to download, you can download using a download manager, for example: [Free Download Manager](http://www.freedownloadmanager.org/). You can find the URL to download from the output of the `vagrant box add` command above (Ctrl-C to cancel the vagrant download):
110+
If this takes too long to download, you can download using a download manager, for example: [Free Download Manager](http://www.freedownloadmanager.org/) or [Aria2](https://chocolatey.org/packages/aria2). You can find the URL to download from the output of the `vagrant box add` command above (Ctrl-C to cancel the vagrant download):
110111

111112
![vagrant box add](http://i.gyazo.com/a02efb5e926c55e8d950eda815382d48.png "vagrant box add command")
112113

@@ -134,7 +135,7 @@ See [full list of Vagrant plugins](https://github.com/mitchellh/vagrant/wiki/Ava
134135

135136
4. Generate the Homestead configuration file (YAML)
136137

137-
The above project ships with a BASH script for initialising the project on your PC. Therefore this won't work on Windows. Luckily it's a very simple script, so we can easily replicate it:
138+
The above project ships with a BASH script for initialising the project on your PC. Therefore this won't work on Windows. Luckily it's a very simple script, so we can easily replicate it in a command prompt:
138139

139140
```
140141
# in dev_root\homestead
@@ -144,6 +145,16 @@ See [full list of Vagrant plugins](https://github.com/mitchellh/vagrant/wiki/Ava
144145
copy src\stubs\aliases %userprofile%\.homestead
145146
```
146147

148+
or in PowerShell:
149+
150+
```
151+
# in dev_root\homestead
152+
mkdir $env:userprofile\.homestead
153+
copy src\stubs\Homestead.yaml $env:userprofile\.homestead
154+
copy src\stubs\after.sh $env:userprofile\.homestead
155+
copy src\stubs\aliases $env:userprofile\.homestead
156+
```
157+
147158
The idea is that you should never make local modifications to the laravel/homestead repo (unless you are contributing.) Therefore you need to store your local config in `%userprofile%\.homestead`.
148159

149160
5. Create your Laravel project storage directory, for example **dev_root**\laravel\

‎Working-With-Laravel.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Getting Started
2626

2727
![composer create laravel project](http://i.gyazo.com/18fba89242edea265e34c75678efb602.png)
2828

29+
Once composer has installed the project's dependencies, it will generate an application key and save it in the .env file.
30+
2931
### Testing the laravel-api site
3032
Let's make sure that everything is working. Open a browser and navigate to `http://laravel-api.phplocal.dev` or `http://localhost:8000`.
3133

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /