drails
cli for docker compose and rails users
Last updated 2 months ago by alejoreact .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install drails 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (2 months ago)

1 Versions

  • 1.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (5)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |