Skip to content

Instantly share code, notes, and snippets.

@clare485
Last active November 22, 2017 14:03
Show Gist options
  • Save clare485/c2607fe50bdc32e3b7047aac4294384e to your computer and use it in GitHub Desktop.
Save clare485/c2607fe50bdc32e3b7047aac4294384e to your computer and use it in GitHub Desktop.
anyway, commands should be as follows:
nano ~/bin/deploy
then paste the following into the file and save it:
#!/bin/bash
dep --file=./deployment/development/deploy.php deploy develop
CTRL+X, then Y, then ENTER (to save and quit nano)
Then make the file executable:
chmod +x ~/bin
////////////////////////////////////////
//rhys
echo "export PATH=$PATH:/home/username/bin" >> ~/.zshrc
mkdir -p ~/bin
curl -LO https://deployer.org/releases/v4.3.1/deployer.phar
mv deployer.phar ~/bin/dep
chmod +x ~/bin/dep
or
//liam
curl -LO https://deployer.org/releases/v4.3.1/deployer.phar
mv deployer.phar ~/bin/dep
chmod +x ~/bin/dep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment