mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
add a new example
This commit is contained in:
13
_examples/configuration/multi-environments/README.md
Normal file
13
_examples/configuration/multi-environments/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Environment-based Configuration
|
||||
|
||||
## Run production server
|
||||
|
||||
```sh
|
||||
$ go run main.go --config=server.yml
|
||||
```
|
||||
|
||||
## Run development server
|
||||
|
||||
```sh
|
||||
$ go run main.go --config=server.dev.yml
|
||||
```
|
||||
Reference in New Issue
Block a user