TableBear / scirate

An open peer review site for arXiv preprints

Home Page:https://scirate.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SciRate

Build Status

SciRate is an open source rating and commenting system for arXiv preprints. Papers are upvoted and discussed by the community, and we sometimes play host to more in depth peer review.

Bug reports and feature requests should be submitted as GitHub issues.

Setting up for development

Development is best done locally using docker-compose:

docker-compose build

In order to run the app, you will need a local_settings.rb file, and a config/database.yml file. You can copy these from the CI versions:

cp local_settings.rb.ci local_settings.rb
cp config/database.yml.ci config/database.yml

Then, spin up all the servers,

docker-compose up -d

From there, you can run the tests (note, you need to make sure elasticsearch is fully up; it can take 10 seconds or so, you can verify with curl localhost:9200/_cat/health, or docker-compose logs -f search to see (the quite verbose) logs)):

docker-compose exec web rspec

After that, you can sync to arXiv.org and then play around with the system locally:

docker-compose exec web rake arxiv:feed_import
docker-compose exec web rake arxiv:oai_update

and visit http://localhost:3000 and you will be looking at SciRate!

Testing

There is a fairly comprehensive series of unit and integration tests in spec. Running docker-compose exec web rspec, if the entire docker-compose system is up, will run them.

Acknowledgements

About

An open peer review site for arXiv preprints

https://scirate.com

License:MIT License


Languages

Language:Ruby 69.9%Language:Slim 15.5%Language:CoffeeScript 6.2%Language:SCSS 6.0%Language:HTML 1.9%Language:JavaScript 0.3%Language:Dockerfile 0.1%Language:Shell 0.0%