https://github.com/sammarks/pusher
Symfony Console Library for easily committing and deploying code.
https://github.com/sammarks/pusher
Last synced: about 1 year ago
JSON representation
Symfony Console Library for easily committing and deploying code.
- Host: GitHub
- URL: https://github.com/sammarks/pusher
- Owner: sammarks
- Created: 2013-06-20T01:46:23.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-07-10T00:58:38.000Z (almost 13 years ago)
- Last Synced: 2024-10-19T09:18:01.661Z (over 1 year ago)
- Language: PHP
- Size: 273 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pusher
Commit and deploy with ease! Using one command, your commits
are automatically deployed to your selected server through
SSH sessions. No more worrying about SSH sessions expiring
or wondering if your changes were actually deployed!
## Installation
To install pusher, simply download and install the repository
to your `/usr/local` folder.
sudo su
git clone https://github.com/sammarks/pusher /usr/local/pusher
chmod a+x /usr/local/pusher/pusher
cd /usr/local/pusher
composer install
# Make sure you own pusher.
chown -R username:staff /usr/local/pusher
Then add pusher to your `PATH`.
PATH="/usr/local/pusher:$PATH"
Now, restart your shell and run Pusher by typing:
pusher
from anywhere!
## Usage
Write some code, and then run this command from the root directory
of your project:
pusher submit "Commit Message"
You'll then be asked to setup your project. The project setup wizard
will ask you several questions about your project configuration. Here
are a couple of the key configuration values:
- Directory of the project
- VCS Type (subversion, git)
- Remote Host
- Remote Directory
- `sudo` needed on remote
- Custom commands to run on remote