https://github.com/kibitan/cran-viewer
CRAN package viewer
https://github.com/kibitan/cran-viewer
Last synced: about 2 months ago
JSON representation
CRAN package viewer
- Host: GitHub
- URL: https://github.com/kibitan/cran-viewer
- Owner: kibitan
- Created: 2017-10-25T18:07:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T08:45:34.000Z (over 7 years ago)
- Last Synced: 2025-02-08T09:47:34.659Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
[CRAN](https://cran.r-project.org/) package viewer.
# requirement
* ruby 2.4.2
* PostgreSQL# setup
run `bin/setup`
# import from CRAN
run `rake packages:import_from_CRAN`
# about app/services
Similar with `OPERATION` of [trailblazer](http://trailblazer.to/).
Differences is, Model can validate invariant, e.g. database constraints.
Service validate focus on precondition.NOTE: I'm still seeking better architecture, this is not conclusion.
see also: [hanami](http://hanamirb.org/)
# run test
`bundle exec rspec`
# TODO:
* implement test
* make database view table `package_list` by [thoughtbot/scenic](https://github.com/thoughtbot/scenic)
...etc