• This repository has been archived on 21/Jul/2019
  • Stars
    star
    494
  • Rank 88,523 (Top 2 %)
  • Language
    JavaScript
  • License
    ISC License
  • Created over 9 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Kanban Board for Sprintly

Sprintly Kanban

Oauth2 Client App w/ Hapi, React, Flux, and Sprinlty-Data

wercker status Gitter chat

Note

This repository is no longer in active development and is now for example purposes only. We are not currently providing OAuth tokens for this application.

Setup

Prerequisites

  • Create an OAuth Client through the Sprintly admin with the credentials in config/default.js
  • node >= 0.10 and npm
  • Sprint.ly API running on https://local.sprint.ly:9000/
$ make

Local Development

To use and develop Sprintly Kanban locally, you'll need an Oauth CLIENT_ID and CLIENT_SECRET. Currently our public registration for new OAuth apps is closed, but we are accepting requests for new OAuth Client application by emailing [email protected].

$ node server
server started on port 3600
visit http://local.sprint.ly:3600/

Browserify/Less watch task:

$ make watch

Run lint and tests and coverage report with Karma:

$ npm test

Attempt to auto-fix certain lint errors:

$ npm run test-lint -- --fix

Run tests to run in a browser:

$ make test-server
$ npm run watchify-test

Writing Tests

Tests require this comment at the top for linting.

/* eslint-env mocha, node */

npm shrinkwrap

This project uses npm shrinkwrap to keep dependecies from automatically upgrading without out explicit permission.

Any time you install or upgrade an npm package, please run make shrinkwrap.

For further reading, please refer to the shrinkwrap documentation: npm help shrinkwrap.

Troubleshoot: Error: Extraneous Modules?:

  • Delete node modules dir locally
  • $ npm install
  • $ make shrinkwrap

Deploys

Kanban is built to be deployed on Heroku with a minimum amount of fuss. Because Heroku is the deploy target, all assets for production need to be compiled and checked in. To avoid this, we use Wercker to build and cache production assets and then push them to Heroku when we need to deploy.

Staging

Deploys to staging should be managed with the "Deploy" button in Wercker or with the Wercker CLI tool. You can deploy to staging from any branch.

Staging URL

Production

Production deploys can also be managed with Wercker in the same fashion as staging.

There's a new feature in Heroku called pipelines that can also be used to manage deploys. Using the Heroku toolbelt you can promote a build from staging to production. The benefit is that you don't have to wait for the deploy step since Heroku transfers the environment directly.

heroku pipeline:promote

More Repositories

1

Sprintly-GitHub

A command line tool to view your Sprint.ly tasks and a hook to facilitate Sprint.ly's GitHub integration.
Python
57
star
2

culture

A loosely structured set of documents outlining Sprint.ly culture and company expectations.
Python
52
star
3

sprintly-ui

A library of reusable React components for building Sprintly UIs.
JavaScript
37
star
4

pull-request-template-chrome-extension

Chrome extension to input a configurable pull request template into your github PR
JavaScript
22
star
5

jquery.pageguide

CSS
22
star
6

rstudio-chef

A Chef cookbook for installing RStudio Server.
Ruby
15
star
7

sprintly-data

Models and Collections for the Sprintly API
JavaScript
11
star
8

sprint.ly-services

The home of Sprint.ly's outbound services integration.
Python
9
star
9

traceview-chef

A Chef cookbook for Tracelytics.
Shell
8
star
10

ordereddict

A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6.
Python
7
star
11

api-docs

The source files for Sprint.ly's API docs.
5
star
12

sprintly-go

Sprint.ly Go API
Go
4
star
13

partyline-landing

Partyline gh-pages static site
CSS
2
star
14

dateutil

A clone of Python's version 1.5 dateutil library.
Python
2
star
15

xmlbuilder

Pythonic way to create XML files.
Python
2
star
16

sprintly-mode

An emacs mode for interacting with sprintly
Emacs Lisp
2
star
17

importlib

Backport of importlib.import_module() from Python 2.7
Python
1
star
18

UserVoice-Import

Import from UserVoice into Sprint.ly
Go
1
star
19

sprintly-search

API client for sprintly's cross-product search interface.
JavaScript
1
star
20

sprintly-commit-parser

Utility for parsing commits for Sprintly commands.
Python
1
star