/bluebottle

Bluebottle

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Project Bluebottle

https://travis-ci.org/onepercentclub/bluebottle.png?branch=master https://coveralls.io/repos/github/onepercentclub/bluebottle/badge.svg?branch=master https://requires.io/github/onepercentclub/bluebottle/requirements.svg?branch=master

The repository for Project Bluebottle, the crowdsourcing framework initiated by GoodUp.

Contributors

For those who want to contribute to the BlueBottle project, it's easy to get started:

  1. Make sure you have a recent Python distro (2.7+ recommended).

  2. Make sure (a recent) virtualenv is installed.

  3. Fork and/or clone the repository.

  4. Navigate to your local repository directory.

  5. Create a virtual environment within the repository directory, for example:

    $ virtualenv env
    $ source env/bin/activate
    
  6. Create a secrets.py base on secrets.py.example

  7. Install the project:

    $ pip install -e .[test] --process-dependency-links --trusted-host github.com
    $ python manage.py sync_schemas --shared --settings=bluebottle.settings.testing
    $ python manage.py migrate_schemas --shared --settings=bluebottle.settings.testing
    $ ... createtenant
    $ ...
    
  8. You're ready to roll now, baby!

Testing

The BlueBottle test suite can be run completely using:

  1. Get the latest Geodata

    $ curl https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gunzip - > GeoIP.dat

  2. Install the dependencies

    $ pip install -e .[test,dev]

  3. Run the tests

    $ python manage.py test --settings=bluebottle.settings.testing

Pull request - Testing, Reviewing and Merging Flow

https://www.lucidchart.com/invitations/accept/89cab398-8c15-4701-8897-d2fef42c0aa7