Skip to content
/ rap Public
forked from rapde/rap

Dev environment management tool

License

Notifications You must be signed in to change notification settings

alexmaze/rap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rap

rap is a dev environment management tool.

Based on docker and docker-compose, help developers to rapidly set up and easily manage development enviroments, e.g. mysql mongodb redis ...

Config

rap use rap.yaml to manage environment dependencies.

# rap.yaml

# env. depns
depns:
  mysql: [email protected]
  mongo: [email protected]
  cache: [email protected]
  ...

# [optional] extra configs for each env
configs:
  mysql:                               # depns name
    volumes:                           # specify storages, default is `.rap/vol/[name]`
      - .rap/vol/mysql:/var/lib/mysql
    ports:                             # specify ports map
      - "3306:3306"
    environment:                       # specify container enviroment variables
      MYSQL_ROOT_PASSWORD: 123
  ...

Examples

# start|stop|restart all depns as rap.yaml described
$ rap start|stop|restart

# interactivley add a new depn info
$ rap add

# start a web server to manage rap
$ rap serve

# show all services
$ rap ps

# download & build images specified in docker-compose file
$ rap download

Usage

# rap [FLAGS] [COMMAND]

## FLAGS

## COMMAND

About

Dev environment management tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%