Skip to content

adlius/ember-osf-web

This branch is 117 commits ahead of, 48 commits behind CenterForOpenScience/ember-osf-web:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 14, 2025
96098ac · Jan 14, 2025
Sep 19, 2024
May 20, 2019
Jan 14, 2025
Jul 18, 2023
May 14, 2021
Jul 11, 2024
May 11, 2023
Jan 14, 2025
Dec 9, 2024
May 21, 2021
Aug 27, 2024
Feb 23, 2019
Dec 30, 2024
Jan 2, 2025
Jul 16, 2024
May 24, 2018
Aug 20, 2018
Apr 27, 2020
Sep 20, 2017
Jul 18, 2023
Jul 18, 2023
Nov 6, 2018
May 7, 2021
Aug 20, 2018
Nov 29, 2018
Dec 27, 2019
Mar 16, 2023
May 7, 2021
May 7, 2021
Nov 6, 2018
Jul 18, 2023
Jul 9, 2018
Nov 1, 2017
Sep 18, 2024
Mar 17, 2023
Sep 14, 2017
May 31, 2019
May 7, 2021
Apr 30, 2024
Sep 20, 2024
May 7, 2021
May 7, 2021
Sep 22, 2024

Repository files navigation

ember-osf-web

master build master build status Coverage Status

develop build develop build status Coverage Status

A front end for osf.io.

Prerequisites

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

Installation

  • git clone https://github.com/CenterForOpenScience/ember-osf-web.git
  • cd ember-osf-web
  • yarn --frozen-lockfile

Running / Development

Mac OS File Descriptor Limits

Watchman states "Only applicable on OS X 10.6 and earlier". Though it's been observed this setting can remain incorrect on systems where the operation system was upgraded from a legacy version.

Putting the following into a file named /etc/sysctl.conf on OS X will cause these values to persist across reboots:

kern.maxfiles=10485760
kern.maxfilesperproc=1048576

Development

Configure the application for local development, add the following to your config/local.js:

module.exports = {
    // an ally audit can use 100% of your browsers cpu, so use it wisely
    A11Y_AUDIT: false,
    // toggle on/off the engine applications you will be working on
    COLLECTIONS_ENABLED: false,
    // sourcemaps are useful if you need to step through typescript code in the browser
    SOURCEMAPS_ENABLED: true,
};

To integrate with the legacy front end at localhost:5000, you have two options:

  • Enable the waffle flags for each page in your local OSF Admin
  • Add routes to your osf.io/website/settings/local.py:
    EXTERNAL_EMBER_APPS = {
        'ember_osf_web': {
            # ...
            'routes': [
                'handbook',
                'dashboard',
                # ...
            ],
        },
        # ...

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

  • yarn lint
  • yarn lint:fix

Building

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

Further Reading / Useful Links

About

Ember front-end for the Open Science Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 72.6%
  • Handlebars 18.5%
  • SCSS 6.6%
  • JavaScript 2.2%
  • HTML 0.1%
  • Dockerfile 0.0%