Skip to content

Commit

Permalink
Merge pull request #365 from graudeejs/minor-fixes
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
miks committed Mar 7, 2021
2 parents 8598397 + 8ec5bbd commit f9da125
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ case config["database"]["type"]
when 'mysql'
gem 'mysql2', platform: :ruby
when 'postgresql'
gem 'pg', '~> 0.15'
gem 'pg'
end
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,27 @@ email: admin@example.com
password: password
```

## Testing
### Setup
Create `config.yml` (see examples in git root) and run
```console
rake dummy:setup
```
### Running rspec
```console
rspec .
````
or
```console
rake ci
```

### Cleanup
```console
rake dummy:remove
```


## New version releasing
1. bump version in `lib/releaf/version.rb`
2. write all changes and new version number in `CHANGELOG.md`
Expand Down
3 changes: 3 additions & 0 deletions releaf-core/lib/generators/releaf/templates/config/app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# Custom Releaf settings should be added here
{}
1 change: 0 additions & 1 deletion templates/releaf/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
rake 'db:create'

generate "releaf:install"
run 'touch config/app.yml'
generate "dummy:install -f"

application "config.i18n.fallbacks = true"
Expand Down

0 comments on commit f9da125

Please sign in to comment.