Skip to content
Vanilla-plus Hyrax app for testing and tire-kicking
Ruby XSLT HTML Dockerfile CSS JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
build
config
db
lib
log
public
solr
spec
test
tmp
vendor
.fcrepo_wrapper
.gitignore
.rspec
.solr_wrapper
.solr_wrapper.yml
.travis.yml
Capfile
DOCKER.md
Dockerfile
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
docker-compose.override.yml
docker-compose.yml
issue_template.md
nurax-dev-deploy_rsa.enc
package.json
yarn.lock

README.md

Build Status

README

This is an application used for testing the state of Hyrax. The master branch is pinned to Hyrax master, and is automatically deployed to nurax-dev.curationexperts.com once per day. The nurax-stable branch is pinned to the latest stable release of Hyrax, and is deployed much less often, only when there has been a new release, to nurax-stable.curationexperts.com.

Running with Docker

See the docker notes to learn about running Nurax in Docker.

Infrastructure

The nurax servers are built using the ansible-samvera ansible roles. These servers are maintained by Data Curation Experts as a service to the Samvera Community.

Auto-deploy process

There is a cron-job on nurax-dev running this script once per day:

#!/usr/local/bin/ruby

# Get the latest nurax master
# Make a branch with today's date and update hyrax
# Push and deploy that branch
# Delete the branch

today = Time.now.strftime('%Y-%m-%e-%H-%M')
`cd /home/ubuntu/nurax; git checkout master; git pull; git checkout -b "#{today}"`
`cd /home/ubuntu/nurax; bundle update hyrax`
`cd /home/ubuntu/nurax; git commit -a -m 'Daily update for "#{today}"'; git push --set-upstream origin #{today}`
`cd /home/ubuntu/nurax; BRANCH_NAME="#{today}" cap nurax-dev deploy`
`cd /home/ubuntu/nurax; git checkout master; git push origin --delete "#{today}"`
`cd /home/ubuntu/nurax; git checkout master; git branch -D "#{today}"`

Questions

Please direct questions about this code or the servers where it runs to the #nurax channel on Samvera slack.

You can’t perform that action at this time.