drails
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

/drails/

    Package Sidebar

    Install

    npm i drails

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.06 kB

    Total Files

    6

    Last publish

    Collaborators

    • alejoreact