discourse/migrations/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
543 B
Markdown
Raw Permalink Normal View History

# Migrations Tooling
## Command line interface
```bash
./bin/cli help
```
## Converters
Public converters are stored in `lib/converters/`.
If you need to run a private converter, put its code into a subdirectory of `private/converters/`
## Development
### Installing gems
```bash
bundle config set --local with migrations
bundle install
```
### Updating gems
```bash
bundle update --group migrations
```
### Running tests
You need to execute `rspec` in the root of the project.
```bash
bin/rspec --default-path migrations/spec
```