Skip to content
/ drails Public

cli for running rails tasks on docker compose service

License

Notifications You must be signed in to change notification settings

alealvb/drails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drails

cli for docker compose and rails users, this cli helps with running your rails commands like db:drop or generate model inside your docker web service container. Your rails service on the docker compose needs to be named "web"

oclif Version Downloads/week License

Prerequisite

  • docker installed
  • docker-compose installed
  • Your rails service on the docker-compose.yml needs to be named "web"

Install

$ yarn add drails
$ # or
$ yarn global add drails

Usage

$ drails db:create
$ drails drails g model User
$ drails db:migrate

then you could start up your docker compose services

$ docker-compose up

About

cli for running rails tasks on docker compose service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published