https://github.com/sanger/asset_audits
Add audits to assets in sequencescape
https://github.com/sanger/asset_audits
rails ruby
Last synced: 3 months ago
JSON representation
Add audits to assets in sequencescape
- Host: GitHub
- URL: https://github.com/sanger/asset_audits
- Owner: sanger
- License: mit
- Created: 2011-02-23T11:53:30.000Z (over 15 years ago)
- Default Branch: develop
- Last Pushed: 2026-03-30T20:45:16.000Z (3 months ago)
- Last Synced: 2026-04-01T22:20:24.479Z (3 months ago)
- Topics: rails, ruby
- Language: JavaScript
- Homepage:
- Size: 1.8 MB
- Stars: 3
- Watchers: 7
- Forks: 7
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Asset Audits
This application allows you to add audits to assets. It is intended to be used in the lab to track
who did what, when they did it, what they did it to and what lab instrument they used. It requires
Sequencescape.
## Requirements
### Running applications
- [Sequencescape](https://github.com/sanger/sequencescape/) is required to authenticate against
## Getting started
1. If you are working on a Macintosh:
1. Install [Homebrew](https://brew.sh)
1. Install `shared-mime-info` with `brew install shared-mime-info`. This is
needed by one of the required Gems in this project.
1. Install the required version of ruby - look for the version in the `.ruby-version` file
1. Install bundler: `gem install bundler`
1. Install the required gems: `bundle install`
1. Migrate/setup the database: `bundle exec rake db:setup`
1. Configure the settings for the environment of interest in: `config/settings`
1. Run the server: `bundle exec rails server`
## Testing
To run the tests, execute the following commands:
RAILS_ENV=test bundle exec rake db:create db:schema:load
bundle exec rake db:test:prepare
export CUCUMBER_FORMAT=progress
bundle exec rake
To run a single test:
bundle exec rake test TEST=
## Linting and formatting
Rubocop is used for linting.
```shell
bundle exec rubocop
```
Prettier is used for formatting.
```shell
bundle exec rbprettier --check . --ignore-unknown
```