Skip to content
Frontend for the DataCite DOI Fabrica service
Branch: master
Clone or download
Latest commit 3167f00 Jun 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github configure move app Oct 27, 2018
app fixed wrong variable name Jun 23, 2019
config simplify polyfill.io Apr 15, 2019
ember-electron install ember-electron Dec 30, 2018
public updated favicon Oct 18, 2017
tests comment out test Jun 23, 2019
translations use ember-intl Sep 11, 2017
vendor enabled tooltips on d3 charts Sep 27, 2017
.codemeta.yml added codeclimate configuration Sep 27, 2017
.editorconfig initial commit Mar 18, 2017
.ember-cli Migrate member information from volpino to lupo datacite/datacite#326 Mar 30, 2018
.env.example use api.datacite.org. #91 Jul 19, 2018
.env.production use sentry for bugtracking. datacite/datacite#703 Mar 24, 2019
.env.stage include sentry integration Mar 23, 2019
.eslintignore run ember-cli-update. #121 Dec 31, 2018
.eslintrc.js update dependencies Mar 5, 2019
.gitignore package-lock.json not under version control Jan 9, 2019
.template-lintrc.js update addons Mar 8, 2019
.travis.yml updated travis.yml for codeclimate Apr 10, 2019
.watchmanconfig prepare mobile app. #87 May 19, 2018
LICENSE clean up package.json Jul 1, 2017
MODULE_REPORT.md commit merge conflicts. #121 Dec 31, 2018
README.md run ember-cli-update. #121 Dec 31, 2018
codemeta.json added codemeta file May 9, 2018
dotenv.js use sentry for bugtracking. datacite/datacite#703 Mar 24, 2019
ember-cli-build.js fixed tests Apr 12, 2019
jsconfig.json clean up bugsnag configuration Dec 6, 2017
package.json fixed wrong variable name Jun 23, 2019
testem-electron.js install ember-electron Dec 30, 2018
testem.js commit merge conflicts. #121 Dec 31, 2018
yarn.lock remove corber Apr 15, 2019

README.md

Identifier Build Status Code Climate Test Coverage

Bracco

The web frontend for the DataCite DOI Fabrica service.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd bracco
  • cp .env.example .env
  • npm install
  • yarn

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

The application is deployed to Amazon S3 via Travis CI. See .travis.yml for the configuration. Assets are served from S3, everything else is redirected to index.html so that the Ember router can handle all requests:

Nginx

server {
    server_name example.org;
    listen 8080;
    set $frontend http://example.org.s3.amazonaws.com;
    index index.html;

    location / {
        try_files $uri $uri/ /index.html;

        proxy_pass $frontend;
    }

    location /assets {
        proxy_pass $frontend;
    }

Cloudfront (using terraform)

custom_error_response {
  error_code            = "404"
  error_caching_min_ttl = "5"
  response_code         = "200"
  response_page_path    = "/index.html"
}

Note on Patches/Pull Requests

  • Fork the project
  • Write tests for your new feature or a test that reproduces a bug
  • Implement your feature or make a bug fix
  • Do not mess with Rakefile, version or history
  • Commit, push and make a pull request. Bonus points for topical branches.

License

bracco is released under the MIT License.

You can’t perform that action at this time.