Automated Deploys Rails application by Capistrano
Cloning this repository:
$ git clone git@github.com:jinhucheung/capistrano-demo.git
Then enters capistrano-demo
directory:
$ cd capistrano-demo
Copying database configuration file, changes it for you:
$ cp config/database.yml.example config/database.yml
Then regenerates master.key
for production, links How to regenerate the master key for Rails 5.2 credentials
And then execute:
$ bundle install
Deploys production environments:
$ cap production deploy
Bug report or pull request are welcome.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
Please write unit test with your code if necessary.
The repository is available as open source under the terms of the MIT License.