This project in built on top of the Open Science Framework and serves to
- Make running specific tasks easier
- Organize users and projects into groups.
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.
You will need the following things properly installed on your computer.
git clone https://github.com/atelic/ember-osf-tasks.git -o upstream
this repositorycd ember-osf-tasks
yarn install --pure-lockfile
bower install
ember generate ember-osf
- will generateconfig/local.yml
; fill in the required fields
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.
BACKEND=stage ember server --port 3000
- Visit your app at http://localhost:3000.
docker build -t ember-osf-tasks . && docker run -p 3000:3000 ember-osf-tasks BACKEND=stage ./node_modules/ember-cli/bin/ember serve
Make use of the many generators for code, try ember help generate
for more details
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 ember-osf-tasks . && docker run ember-osf-tasks
ember build
(development)ember build --environment production
(production)