remove the Laravel installer from the workspace container
This commit is contained in:
parent
11a13a0c33
commit
adaaa25f47
14
README.md
14
README.md
@ -447,21 +447,17 @@ docker logs {container-name}
|
||||
|
||||
1 - First you need to enter the Workspace Container.
|
||||
|
||||
2 - Install Laravel anyway you like.
|
||||
|
||||
Example using the Laravel Installer:
|
||||
|
||||
```bash
|
||||
laravel new my-cool-app
|
||||
```
|
||||
2 - Install Laravel.
|
||||
|
||||
Example using Composer
|
||||
|
||||
```bash
|
||||
composer create-project laravel/laravel my-cool-app "5.1.*"
|
||||
composer create-project laravel/laravel my-cool-app "5.2.*"
|
||||
```
|
||||
|
||||
For more about this check out this [link](https://laravel.com/docs/master#installing-laravel).
|
||||
> We recommand using `composer create-project` instead of the Laravel installer, to install Laravel.
|
||||
|
||||
For more about the Laravel installation click [here](https://laravel.com/docs/master#installing-laravel).
|
||||
|
||||
|
||||
3 - Edit `docker-compose.yml` to Map the new application path:
|
||||
|
@ -62,10 +62,6 @@ RUN curl -s http://getcomposer.org/installer | php \
|
||||
&& mv composer.phar /usr/local/bin/ \
|
||||
&& echo "alias composer='/usr/local/bin/composer.phar'" >> ~/.bashrc
|
||||
|
||||
# Install the Laravel Installer
|
||||
RUN composer.phar global require "laravel/installer" \
|
||||
&& echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc
|
||||
|
||||
# Source the bash
|
||||
RUN . ~/.bashrc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user