Add docker setup to readme

This commit is contained in:
Anil Kumar Maurya 2018-02-13 13:38:28 +05:30 committed by GitHub
parent 5932c3dc95
commit 8b0472bf9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -43,6 +43,7 @@
- [Bundler](#or-if-you-are-using-bundler)
- [Building your own gems](#building-your-own-gems)
- [Generators](#generators)
- [Test suite with Docker](#docker)
- [Latest changes](#latest-changes)
- [Questions?](#questions)
- [Maintainers](#maintainers)
@ -1331,6 +1332,14 @@ Replace NAME with the Model name, COLUMN_NAME is optional(default is 'aasm_state
This will create a model (if one does not exist) and configure it with aasm block.
For Active record orm a migration file is added to add aasm state column to table.
### Docker
Run test suite easily on docker
```
1. docker-compose build aasm
2. docker-compose run --rm aasm
```
## Latest changes ##
Take a look at the [CHANGELOG](https://github.com/aasm/aasm/blob/master/CHANGELOG.md) for details about recent changes to the current version.