CenterForOpenScience/ember-osf-registries

Name: ember-osf-registries

Owner: Center for Open Science

Description: OSF Registries: The open registries network

Created: 2017-01-03 19:17:02.0

Updated: 2018-05-01 13:57:11.0

Pushed: 2018-05-22 20:16:35.0

Homepage: https://osf.io/registries/

Size: 14439

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ember-osf-registries

master Build Status: Build Status

develop Build Status: Build Status

This is the codebase for OSF Registries. This guide will help you get started if you're interested.

Prerequisites

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

Installation
Running / Development

For local development, this is designed to run alongside (and from within) the flask application for osf.io.

  1. Start your Ember server: ember serve
  2. Add this to to your website/settings/local.py file:
    istries': {
    ': '/registries/',
    ver': 'http://localhost:4200',
    h': '../ember-osf-registries/dist/'
    
    
  3. Visit your app at http://localhost:5000/registries/

If you encounter problems, make sure that your version of ember-osf is up to date. If login fails, try logging in from any other OSF page, then returning to the preprints app.

Generating test data on the OSF

This interacts only with the SHARE data available. Unless SHARE needs to be configured locally, pointing config/environment.js to one of SHARE servers (such as https://share.osf.io/) should populate the app with data.

Code Generators

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

Running Tests

You can run tests either with ember installed on your machine or by using Docker

On your local machine With Docker
Building
Further Reading / Useful Links

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.