GithubHelp home page GithubHelp logo

chinna1986 / standup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rlr/standup

0.0 2.0 0.0 1.98 MB

web app that logs daily standup updates

License: BSD 3-Clause "New" or "Revised" License

standup's Introduction

README

https://travis-ci.org/rlr/standup.png

standup is an app that logs daily status updates. It is currently in super early active development, check back later.

We developed it with the following priorities:

  1. Lets the team, stake holders and everyone else see status for team members across projects.
  2. Lets us do that asynchronously. Conference calls were getting difficult to schedule because of the range of timezones we're in.
  3. Lets us see who's blocked on what---then scrummasters can go through and work to unblock people.

Hacking

To set up a local dev environment for hacking:

  1. Create and activate a new virtual environment.

  2. Clone the repo:

    $ git clone git://github.com/rlr/standup.git
    $ cd standup
    
  3. Install required dependencies:

    $ pip install -r requirements-dev.txt
    
  4. Configure:

    $ cp ./standup/local_settings.py-dist ./standup/local_settings.py
    $ vim ./standup/local_settings.py
    
  5. Create the database using:

    $ ./manage.py db_create
    
  6. Run the app:

    $ ./manage.py runserver
    

Oh, but wait--what can you do with it? Well, for testing purposes, you can use the included scripts/standup-cmd which is a command-line tool you can use to create statuses.

Example:

$ ./scripts/standup-cmd localhost:5000 ou812 willkg sumo "hi."

(This assumes your API_KEY is set to ou812.)

Also, you can use the ./manage.py script to add teams:

$ ./manage.py add_team "Team Awesome"
$ ./manage.py add_team -s "awesome" "Team Awesome"

and projects:

$ ./manage.py add_project "DEATH MARCH"
$ ./manage.py add_project -s "death_march" "DEATH MARCH"
$ ./manage.py add_project -r "http://github.com/rlr/standups" "DEATH MARCH"
$ ./manage.py add_project -c "0000ff" "DEATH MARCH"

And see stats for your instance:

$ ./manage.py stats

Migrations

To upgrade the database use:

$ ./manage.py db_upgrade

You may optionally pass a version that you wish to upgrade to:

$ ./manage.py db_upgrade 8

If you wish to downgrade, you must specify what version to downgrade to:

$ ./manage.py db_downgrade 4

Finally you can check the current version of the database by using:

$ ./manage.py db_version

Configuration

There's a standup/local_settings.py-dist template which you can copy to standup/local_settings.py to start you off.

These are things you can set in standup/local_settings.py:

SITE_URL

The url for your site.

For example, if you're running on your local machine, it would be:

SITE_URL = 'http://127.0.0.1:5000'

You have to set this in production, but a default (the above) is supplied for ease-of-development.

SESSION_SECRET

Secret string used for creating session variables. This can be any string.

For example:

SESSION_SECRET = '1234'

You have to set this in production, but a default (the above) is supplied for ease-of-development.

API_KEY

The key used for using the API. You use this for the standup-irc bot as well as the standup-cli.

Defaults to something ridiculous.

API2_TIMELINES_MAX_RESULTS

Sets the maximum number of results that can be requested from the timeline endpoints of the API (v2).

Defaults to 800.

DEBUG

Either True or False. Determines whether it prints lots of stuff to the console and whether errors get a debugging-friendly error page.

Defaults to False.

These are things you can set in the environment when you launch standup:

DATABASE_URL

The uri to use for the database.

Defaults to sqlite:///standup_app.db.

Testing

We use nose for testing. To run the tests, do:

$ nosetests

Remember to run tests before submitting pull requests!

Also, we are trying to keep 100% test coverage, so make sure to check the coverage report as well. You can do that by running tests like this:

$ nosetests --with-coverage --cover-package=standup --cover-inclusive -v

Or if you like, use our fab script:

$ fab test

standup's People

Contributors

rehandalal avatar willkg avatar rlr avatar mythmon avatar comzeradd avatar robhudson avatar tofumatt avatar openjck avatar mreid-moz avatar tobbi avatar groovecoder avatar

Watchers

James Cloos avatar Narava 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.