Phase
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'phase'
And then execute:
$ bundle
Or install it yourself as:
$ gem install phase
Usage
Phasefile
In order to configure Phase, you'll need to create a Phasefile
at the
root of your project.
Phasefile
Phase.configure do |config|
# config.deploy.docker_repository = "mycompany/myrepo"
# config.deploy.docker_repository = "https://docker.mycompany.com/myrepo"
# config.deploy.asset_bucket = "static-assets"
end
Docker Repository - Required
This is where you tell phase where to push your built image to. Accepts Docker Hub naming convention of "user/reponame" or your own container host.
S3 Assets
Provide a bucket name and Phase will push your compiled assets to that S3 Bucket.
Contributing
- Fork it ( https://github.com/[my-github-username]/phase/fork )
- 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
) - Create a new Pull Request