Git Product home page Git Product logo

ollert's Introduction

Ollert

Build Status

Description

Ollert is a data analysis tool for Trello.

Browser Support

Since Ollert depends entirely on Trello for users, Ollert will support only browsers supported by Trello. Trello officially supports the following browsers:

  • Chrome - Current stable release
  • Safari - Version 6.0 or higher
  • Firefox - Current stable release
  • Internet Explorer - Version 10.0 or higher

Development

You almost certainly want to be using a Unix-based operating system. Some dependencies will be necessary before you can run the application. On Ubuntu:

# sudo apt-get install libxslt-dev libxml2-dev build-essential libqtwebkit-dev

Note: You may need more packages. If you do, please edit this document and add them to the command above.

Requirements

In the project root folder, you should:

  • bundle install
    • Installs the required ruby gems
  • npm install
    • Installs the required node packages
  • npm install -g grunt-cli
    • Installs the grunt-cli.

Create a file called .env in the root project folder. The format of the .env file is simply:

ENVIRONMENT_VARIABLE=This is the value
ANOTHER_VARIABLE=Another value

Environment variables:

  • PUBLIC_KEY
  • TRELLO_TEST_DISPLAY_NAME
    • required
    • Display name to use while running cukes (this is your @<username> from Trello)
  • TRELLO_TEST_USERNAME
    • required
    • Username to use while running cukes
  • TRELLO_TEST_PASSWORD
    • required
    • Password to use while running cukes
  • MEMBER_TOKEN
    • required
    • this value is used to run the integration tests. To generate this value after you have entered your PUBLIC_KEY run the following command and paste the result into your .env file where it asks you to: rake test:setup
  • SESSION_SECRET
    • optional
    • Any string
  • RACK_ENV
    • optional
    • You should set this to development. Other options include testing and production.

Run rake to start the application on localhost:4000. This will fork two processes: a rack server (probably unicorn) and grunt watch (to constantly compile and minify Sass and javascript files).

All tests must pass before pushing to origin/master.

Testing

All changes checked in to origin/master must be tested. There are two types of test: spec (unit tests) and cukes (acceptance tests).

To run the spec tests, use rake test:spec.

To run the cukes, use rake test:cukes. Cukes are run using the TRELLO_TEST_USERNAME. At least one test will fail if you have the improper boards. Create an organization "Test Organization 1" on Trello. Under "Test Organization", create two boards: "Test Board #1" and "Test Board #2". Additionally, create a general board called "Empty Board" and verify that the default "Welcome Board" is still visible to you. If "Welcome Board" is no longer available, you can simply create a new "Welcome Board" without any organization.

To run all tests, use rake test:all.

testem

The JavaScript specs use testem as the test runner. By default the tests will try to use PhantomJS as the browser for the JavaScript specs. To install, PhantomJS needs to be part of your path. To install using Homebrew on OSX run the following command:

brew install phantomjs

CI

Travis CI is being used for CI. For clones of this repository, builds will run in your https://travis-ci.org/<your username>/ollert environment. Since the tests depend on the environment variables mentioned above, those also need to be carried over in your individual Travis CI setup. Please look at the documentation for environment variables for more information about setting up your environment variables.

Contributing

We want your help! Check out CONTRIBUTING.md for advice on making contributions.

ollert's People

Contributors

larryprice avatar leviwilson avatar bobnowadly avatar jamelling avatar ryanclarke avatar mike-rogers avatar gjnickles avatar damathew82 avatar heybenji avatar suonlight avatar

Watchers

 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.