This is the codebase for OSF Registries. This guide will help you get started if you're interested.
You will need the following dependencies properly installed on your computer.
git clone
this repositoryyarn --frozen-lockfile
bower install
For local development, this is designed to run alongside (and from within) the flask application for osf.io.
- Start your Ember server:
ember serve
- Add this to to your
website/settings/local.py
file:
'registries': {
'url': '/registries/',
'server': 'http://localhost:4200',
'path': '../ember-osf-registries/dist/'
}
- 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.
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.
Make use of the many generators for code, try ember help generate
for more details
You can run tests either with ember installed on your machine or by using Docker
ember test
ember test --server
docker build --tag registries .
docker run registries
ember build
(development)ember build --environment production
(production)
- Requirements and road map for this service
- ember.js
- ember-cli
- Development Browser Extensions