This is the prototype of the upcoming OSF preprints. This guide will help you get started if you're interested.
You will need the following things properly installed on your computer.
npm install
bower install
For local development, this is designed to run alongside (and from within) the flask application for osf.io.
- Check out this OSF feature branch: https://github.com/CenterForOpenScience/osf.io/tree/feature/ember-preprints
- Start your Ember server:
ember serve
- Visit your app at http://localhost:5000/preprints/
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.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)