Skip to content
Rails application for the Archives Unleashed Cloud.
Tree: 55b8aedce1
Clone or download
ruebot Add additional Spark conf options:
- spark.rdd.compress
- spark.shuffle.compress
- spark.serializer
Latest commit 55b8aed Apr 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add PR template. Jun 1, 2018
app Add additional Spark conf options: Apr 5, 2019
bin Setup Delayed::Job and create job. Resolves #23. Jan 9, 2018
config Add additional Spark conf options: Apr 5, 2019
db Add FAQ content; resolves #210. (#236) Dec 21, 2018
lib
log init Oct 24, 2017
public [ImgBot] Optimize images (#258) Feb 1, 2019
test Adds Basic Gephi Learning Guide, Resolves #256 (#257) Jan 31, 2019
tmp init Oct 24, 2017
vendor init Oct 24, 2017
.codecov.yml Setup wasapi_files_helper_test (#87) Mar 28, 2018
.eslintrc Add Scaling Design for SigmaJS -- partially address Issue 130 (#133) Jun 24, 2018
.gitignore Add to gitignore Apr 9, 2018
.rubocop.yml Setup Slack notifications for completed jobs. Feb 13, 2019
.travis.yml Update test versions. Apr 3, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Nov 3, 2017
CONTRIBUTING.md init Oct 24, 2017
Gemfile Update more dependencies. Mar 28, 2019
Gemfile.lock Update rack to version 2.0.7 (#281) Apr 3, 2019
LICENSE.txt init Oct 24, 2017
README.md Dependency badge Dec 12, 2018
Rakefile Setup ESlint for project; resolves #89. (#97) Apr 9, 2018
config.ru Add Rubocop. Nov 8, 2017
package.json Update babel-eslint to version 10.0.1 (#231) Dec 12, 2018

README.md

AUK; Archives Unleashed Cloud

Build Status codecov Contribution Guidelines LICENSE Depfu

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=seed,tasks:10 --pool=download,tasks:4 --pool=cleanup,tasks:2 --pool=textfilter,tasks:2 start

Then visit http://localhost:3000.

Delayed Job Dashboard

To take advantage of the Delayed Job Dashboard, set the DJW_USERNAME and DJW_PASSWORD in config/application.yml. Then visit http://localhost:3000/jobs.

Retry jobs

If you need to "retry" a stuck or failed job, you can use the "retry" method with a job id (1234):

$ RAILS_ENV=production rails console
Running via Spring preloader in process 19680
Loading production environment (Rails 5.1.4)
irb(main):001:0> Delayed::Job.find(1234).retry!

Configuration

This application makes use of figaro.

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

Dashboard

Set the DASHBOARD_USER and DASHBOARD_PASS in config/application.yml. Then visit http://localhost:3000/dashboards.

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.

You can’t perform that action at this time.