Giter Site home page Giter Site logo

caneruguz / demo-ember-osf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pattisdr/demo-ember-osf

0.0 2.0 0.0 128 KB

Displaying useful functionality on top of original demo-ember-osf app.

License: Apache License 2.0

JavaScript 72.03% HTML 22.44% CSS 0.47% Shell 5.06%

demo-ember-osf's Introduction

Build Status Coverage Status

Demo-ember-osf

This is a demonstration project that consumes the ember-osf Ember addon, produced by the Center for Open Science.

The focus is on basic scaffolding, incorporating opinionated best practices such as documentation tools, style guide checking, and CI build scripts/ code coverage metrics.

This application is based on Ember 2.8 LTS, yarn, nvm, Sass, and YUIDoc. It applies linters for JS and template style, and incorporates badges and config for health reporting services such as Travis and Coveralls.io.

In the future we may add a dependency on ember-i18n, depending on goals for this demonstration app.

Prerequisites

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

Installation

  • git clone https://github.com/abought/demo-ember-osf.git -o upstream this repository
  • cd demo-ember-osf
  • yarn install --pure-lockfile
  • bower install
  • ember generate ember-osf - will generate config/local.yml; fill in the required fields

Additional configuration

If you would like to log errors to Sentry, add SENTRY_DSN to the correct section of your local.yml file, and specify the appropriate configuration string for your server/ project. We encourage remote error logging for all COS projects.

Running / Development

Without Docker

With Docker

  • docker build -t demo-ember-osf . && docker run -p 4200:4200 demo-ember-osf BACKEND=stage ./node_modules/ember-cli/bin/ember serve

Code Generators

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

Running Tests

Unit tests can be run as follows:

  • ember test
  • ember test --server

To run all tests required for CI, use:

  • yarn test

Testing with docker:

  • docker build -t demo-ember-osf . && docker run demo-ember-osf

Building

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

Tips: where to go from here

There are several packages that can enhance your large-scale applications, but are not included in this scaffold:

  • ember-i18n (may be added in the future)

Future features to add to this app

In the future, we will add:

  • Demonstrate nested route / paginated requests according to ember best practices
  • Improve a11y testing (currently runs during acceptance tests, but does not cause tests to fail; see known pending issue)

demo-ember-osf's People

Contributors

abought avatar binoculars avatar caneruguz avatar ember-tomster avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.