Skip to content

alexschiller/ember-osf-registries

 
 

Repository files navigation

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

  • git clone this repository
  • yarn --frozen-lockfile
  • bower install

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:
'registries': {
    'url': '/registries/',
    'server': 'http://localhost:4200',
    'path': '../ember-osf-registries/dist/'
}
  1. 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

  • ember test
  • ember test --server

With Docker

  • docker build --tag registries .
  • docker run registries

Building

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

Further Reading / Useful Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 52.5%
  • CSS 28.0%
  • HTML 19.1%
  • Dockerfile 0.4%