1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

fix replacement

This commit is contained in:
Taylor Otwell
2016-05-10 15:41:28 -05:00
parent 6345ee9503
commit b22d3da81c
2 changed files with 3 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ echo "Downloading Valet..."
wget https://github.com/laravel/valet/archive/master.tar.gz -O $HOME/.valet-cli/valet.tar.gz > /dev/null 2>&1
tar xvzf $HOME/.valet-cli/valet.tar.gz -C $HOME/.valet-cli --strip 1 > /dev/null 2>&1
# Install Valet to /usr/local/bin
rm /usr/local/bin/valet
ln -s $HOME/.valet-cli/valet /usr/local/bin/valet
chmod +x /usr/local/bin/valet
@@ -47,5 +48,5 @@ chmod +x /usr/local/bin/valet
echo "Installing Valet's Composer dependencies..."
/usr/local/bin/php $COMPOSER_PATH install -d $HOME/.valet-cli > /dev/null 2>&1
# Run the Valet installation process
# Run the Valet server installation process
$HOME/.valet-cli/valet install

View File

@@ -1,4 +1,4 @@
import VALET_HOME_PATH/.valet/Caddy/*
import VALET_HOME_PATH/Caddy/*
:80 {
fastcgi / 127.0.0.1:9000 php {