Skip to content

Commit

Permalink
Added clarification of where executables are.
Browse files Browse the repository at this point in the history
  • Loading branch information
Danack committed Jan 21, 2016
1 parent 4d1e502 commit dfd888b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,22 @@ This library allows you to do these two thing. All environment settings can be s
Example usage for people who don't like reading instructions
------------------------------------------------------------

If you install Configurator through Composer, the executable files will be in the vendor bin directory and can be run with:

```
#Generate nginx config file for the centos,dev environment
bin/configurate -p example/config.php example/config_template/nginx.conf.php autogen/nginx.conf "centos,dev"
vendor/bin/configurate -p example/config.php example/config_template/nginx.conf.php autogen/nginx.conf "centos,dev"
# Generate a PHP file that contains a function that return the current application env settings
bin/genenv -p example/config.php example/envRequired.php autogen/appEnv.php "centos,dev"
vendor/bin/genenv -p example/config.php example/envRequired.php autogen/appEnv.php "centos,dev"
# Convert a PHP ini file to be in the PHP-FPM format
bin/fpmconv autogen/php.ini autogen/php.fpm.ini
vendor/bin/fpmconv autogen/php.ini autogen/php.fpm.ini
```




Config file generator
---------------------

Expand Down

0 comments on commit dfd888b

Please sign in to comment.