Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epic: design the devbin.yml file #6

Open
yeuem1vannam opened this issue Jan 16, 2019 · 1 comment
Open

epic: design the devbin.yml file #6

yeuem1vannam opened this issue Jan 16, 2019 · 1 comment
Milestone

Comments

@yeuem1vannam
Copy link
Owner

  • File lives at ~/.config/devbin.yml
  • Path to configuration files: docker-sync.yml / docker-compose.yml
  • Namespacing
@yeuem1vannam yeuem1vannam added this to the v0.1.0 milestone Jan 16, 2019
@yeuem1vannam
Copy link
Owner Author

yeuem1vannam commented Jan 16, 2019

ex:

global:
  verbose: false
workspaces:
  awesome-project:
    verbose: true
    root: ~/Workspace/awesome-project/
    docker-sync: docker-sync.yml        # ~/Workspace/awesome-project/docker-sync.yml
    docker-compose: docker-compose.yml
  personal-project:
    root: ~/personal-project/
    docker-sync: .docker/docker-sync.yml
    docker-compose: .docker/docker-compose.yml

So the command can support the --workspace, -w option

$ cd ~/Workspace/awesome-project/
$ devbin rails s gateway --workspace=personal-project 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant