@@ -6,7 +6,7 @@ I was inspired by [Mark's Shust](https://github.com/markshust/docker-magento) so
66
77[ ![ MIT License] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat )] ( https://github.com/asannikov/jumper/blob/master/LICENSE )
88[ ![ Build Status] ( https://travis-ci.com/asannikov/jumper.svg?branch=master )] ( https://travis-ci.com/asannikov/jumper )
9- [ ![ Release] ( https://img.shields.io/badge/release-1.5.3-brightgreen.svg )] ( https://github.com/asannikov/jumper/releases/tag/v1.5.7 )
9+ [ ![ Release] ( https://img.shields.io/badge/release-1.5.3-brightgreen.svg )] ( https://github.com/asannikov/jumper/releases/tag/v1.6.0 )
1010
1111It was not tested on Windows.
1212
3131* Laravel artisan support
3232* Docker extended managment
3333* GIT routines
34- * Extendable jumper config options
3534* Kubernetes management
3635
3736I'll highly appreciate for testing and any ideas where this tool can be useful. Please, write your suggestions or your experience in the issues.
@@ -103,7 +102,7 @@ Every stable release has attached sources for "linux/amd64", "linux/386", "darwi
103102
104103For example:
105104```
106- https://github.com/asannikov/jumper/releases/tag/v1.5.7
105+ https://github.com/asannikov/jumper/releases/tag/v1.6.0
107106```
108107Find related source there and download it. Now you can place use source at any place you want on your machine or make it global in a standard way.
109108
@@ -147,6 +146,60 @@ implemented commands:
147146 shell Change shell type for a project
148147 ```
149148
149+ # Project config example - jumper.json
150+ ```
151+ {
152+ "name": "Project Name",
153+ "main_container": "php_container",
154+ "start_command": "docker-compose up -d",
155+ "path": "/var/www/src",
156+ "xdebug_location": "local",
157+ "xdebug_path_cli": "/path/to/project/config/xdebug_cli.ini",
158+ "xdebug_path_fpm": "/path/to/project/config/xdebug_fpm.ini",
159+ "shell": "bash"
160+ }
161+ ```
162+
163+ all these options are managed using jumper command. ** It's not recommended to edit manually.**
164+
165+ # Global conifg file example - ~ /.jumper.json
166+ ```
167+ {
168+ "projects": [
169+ {
170+ "path": "/path/to/project1",
171+ "name": "project1"
172+ },
173+ {
174+ "path": "/path/to/project2",
175+ "name": "project2"
176+ }
177+ ],
178+ "copyright_text": false,
179+ "docker_service": "open --hide -a Docker",
180+ "inactive_command_types": [
181+ "compose",
182+ "xdebug"
183+ ]
184+ }
185+ ```
186+
187+ # Available options for global config ~ /.jumper.json
188+
189+ ## Hide copyright text
190+ Add ` "copyright_text": false, `
191+
192+ It can be done using jumper command though.
193+
194+ ## Permanent hiding some types of commands
195+ add ` "inactive_command_types": ["type1","type2"], `
196+
197+ It can be done only directly in config file.
198+
199+ here is a list of avalable values:
200+ * ` composer ` - hides all composer commands
201+ * ` xdebug ` - hides xdebug commands
202+
150203# FAQ
151204## How to change shell type:
152205Container might use only sh shell type and no bash. By default jumper uses ` sh ` . But you can use ` bash ` or even ` csh ` , ` ksh ` or ` zsh ` . Call ` jumper shell ` with no option and select shell type. It will be saved into project config ` jumper.json ` in ` shell ` node.
0 commit comments