Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Gives ability to run `rails console` and other commands in a Rails application running on AWS ECS Fargate cluster.

License

Notifications You must be signed in to change notification settings

net-engine/ecs-rails-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Style Guide

ecs-rails-console

A simple tool to run rails console or other Rails CLI commands in AWS ECS Fargate.

Installation

Add the following lines to your Rails application's Gemfile:

group :development do
  gem 'ecs-rails-console'
end

And then simply execute:

$ bundle install

Usage

Generate a config file (optional):

$ bundle exec ecs_rails_console -g

This will generate a config/ecs_rails_console.yml file, which you can customize.

Examples:

For rails console:

$ bundle exec ecs_rails_console

For rails db:migrate:status:

$ bundle exec ecs_rails_console bin/rails db:migrate:status

For help, run:

$ bundle exec ecs_rails_console -h
Usage: ecs_rails_console [options]
    -g, --generate-config Generate config file
    -h, --help Display this help
    -e, --environment=ENVIRONMENT Rails environment
    -v, --version Display version

Contributing

Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

Gives ability to run `rails console` and other commands in a Rails application running on AWS ECS Fargate cluster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages