https://github.com/mlibrary/mgetit
https://github.com/mlibrary/mgetit
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mlibrary/mgetit
- Owner: mlibrary
- Created: 2016-04-29T19:35:54.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2025-05-19T23:17:15.000Z (about 1 year ago)
- Last Synced: 2025-05-19T23:34:08.825Z (about 1 year ago)
- Language: Ruby
- Size: 1.32 MB
- Stars: 6
- Watchers: 17
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MGetIt with the Alma Link Resolver, and Sinatra
## Docker-compose
Getting started for the first time. Or without a populated database schema.
Because ActiveRecord expects the database schema to be present on startup, you'll need to bring up the database and populate it before bringing up the webserver.
```bash
docker-compose up --build --no-start
docker-compose start mysql-web
docker-compose run --rm web bundle install
docker-compose run --rm web bundle exec rake db:migrate
docker-compose run --rm web bundle exec rake assets:precompile
docker-compose up
```
Getting started with a populated database schema
`docker-compose up` or `docker-compose start`