https://github.com/yuuki/capze
A tool to make Capistrano-based directory structure
https://github.com/yuuki/capze
capistrano cli deploy go
Last synced: 21 days ago
JSON representation
A tool to make Capistrano-based directory structure
- Host: GitHub
- URL: https://github.com/yuuki/capze
- Owner: yuuki
- License: mit
- Created: 2016-10-02T08:21:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T00:07:47.000Z (over 7 years ago)
- Last Synced: 2025-04-12T07:44:55.680Z (21 days ago)
- Topics: capistrano, cli, deploy, go
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 22
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
capze
======`capze` is a tool to make [Capistrano](http://capistranorb.com/)-like directory structure.
```bash
$ tree -L 2 /var/www/app
/var/www/app
├── current -> /var/www/app/releases/20161002074731
└── releases
├── 20161002074709
├── 20161002074713
├── 20161002074716
├── 20161002074731
└── 20161002081856
```## Usage
```bash
$ capze --keep 5 /tmp/app /var/www/app$ capze --rollback /var/www/app
$ capze --pruned-dirs --keep 1 /var/www/app
/var/www/app/releases/20161006002523
/var/www/app/releases/20170621124528
```You can use `capze` in combination with [Droot](https://github.com/yuuki/droot).
```bash
$ aws s3 cp s3://drootexamples/app.tar.gz - | tar xzf - -C /tmp/app
$ capze --keep 5 /tmp/app /var/www/app
```## License
MIT