ianmilligan1 / auk

Rails application for the Archives Unleashed Cloud.

Home Page:http://cloud.archivesunleashed.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AUK; Archives Unleashed Cloud

Build Status codecov Contribution Guidelines LICENSE

King Auk

Rails application for the Archives Unleashed Cloud.

Requirements

Installation

Run the test suite

Ensure Rails is not running (ports 3000), then:

$ bundle exec rake

If you would like to make sure JavaScript files are linted:

$ npm install
$ bundle exec rake

Run a development server

$ rails s

Run the background job

In another command line tab, run the background job with:

bundle exec rake jobs:work

Or to simulate production environment with Delayed::Job:

bin/delayed_job --pool=spark,tasks:1 --pool=graphpass,tasks:1 --pool=spark_cat,tasks:2 --pool=seed,tasks:10 --pool=download,tasks:4 start

Then visit http://localhost:3000.

Configuration

This application makes use of figaro.

You will need a config/application.yml file in the root of the application.

Sitemap

To generate a sitemap:

bundle exec rake sitemap:refresh:no_ping

To generate a new sitemap, and submit to Google and Bing, setup a cronjob that runs the following:

bundle exec rake sitemap:refresh

Run a console

You can also run bin/console for an interactive prompt that will allow you to experiment.

Contributing

Please see contributing guidelines for details.

License

This application is available as open source under the terms of the Apache License, Version 2.0.

Acknowledgments

This work is primarily supported by the Andrew W. Mellon Foundation. Any opinions, findings, and conclusions or recommendations expressed are those of the researchers and do not necessarily reflect the views of the sponsors.

About

Rails application for the Archives Unleashed Cloud.

http://cloud.archivesunleashed.org/

License:Other


Languages

Language:Ruby 59.4%Language:HTML 20.6%Language:JavaScript 16.8%Language:CSS 3.1%Language:CoffeeScript 0.2%