Update README.md

This commit is contained in:
Rimian Perkins 2017-02-23 15:04:17 +11:00 committed by GitHub
parent 7cf818ecb3
commit 38edc4c7b0
1 changed files with 11 additions and 4 deletions

View File

@ -4,6 +4,17 @@
Enables stripe payments from discourse.
## Configuration
You can either set your environment vars in docker or save them in a yaml.
In your `app.yml`:
```
STRIPE_SECRET_KEY: 'sk_test_key'
STRIPE_PUBLISHABLE_KEY: 'pk_test_key'
```
## TODO
* Remove hard coded key and use settings.
@ -12,10 +23,6 @@ Enables stripe payments from discourse.
* Handle fails from stripe
* A button in the user's profile page.
## Configuration
You can either set your environment vars in docker or save them in a yaml.
**In your app.yml**
```