https://github.com/werner/compliance
https://github.com/werner/compliance
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/werner/compliance
- Owner: werner
- Created: 2018-09-06T18:28:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T03:04:46.000Z (over 7 years ago)
- Last Synced: 2025-05-13T00:46:31.182Z (about 1 year ago)
- Language: JavaScript
- Size: 4.56 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## Install pre-requisites
- [ ] Install [RVM](https://rvm.io/) or [rbenv](https://github.com/rbenv/rbenv)
- [ ] Setup a local mySQL server
- [ ] Install dependencies and setup development tools
```
bundle install
bundle binstubs bundler --force
bundle binstubs foreman
```
## Environment variables
- [ ] Rename .env.example file to .env or set the following environment variables:
- MYSQL_USERNAME: username of MySQL user
- MYSQL_PASSWORD: password of the MySQL password
- MYSQL_HOST: your MySQL host
- MYSQL_PORT: yout MySQL port
- MYSQL_SOCKET: your MySQL unix socket
## Create database
- [ ] `rails db:create`
- [ ] `rails db:schema:load`
## Start the application
```
bin/foreman start
```
## Testing
### Running all the tests
```
rspec
```