Merge pull request #1137 from arun1595/ichain-documentation

Update CONTRIBUTING.md to setup ichain in test mode using dotenv
This commit is contained in:
Christian Bruckmayer 2016-08-17 14:42:50 +02:00 committed by GitHub
commit 4450202d8d

View file

@ -94,7 +94,8 @@ GitHub issues are the primary way for communicating about specific proposed chan
### Using iChain in test mode
[devise_ichain_authenticatable](https://github.com/openSUSE/devise_ichain_authenticatable) comes with
test mode, which can be useful in development phase in which an iChain proxy is not usually configured or even available. You can enable ichain authentication by setting `CONFIG['authentication']['ichain']['enabled']` equal to `true` in `config.yml` file. You would also need to set following options in `devise.rb`:
test mode, which can be useful in development phase in which an iChain proxy is
not usually configured or even available. You can enable ichain authentication by setting `OSEM_ICHAIN_ENABLED` equal to `true` in `.env` file. You would also need to set following options in `devise.rb`:
```Ruby
# Activate the test mode