Giter Club home page Giter Club logo

bluebottle's Introduction

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 try out to the BlueBottle project, here's to get started:

  1. Make sure you have a recent Python distro (3.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 bluebottle/settings/local.py base on bluebottle/settings/secrets.py.example

  7. Install the project:

    $ pip install -e .[test]
    $ python manage.py migrate_schemas --shared --settings=bluebottle.settings.testing
    $ python manage.py  createtenant
    $ python manage.py runserver
    
  8. You might still need to
    • Install libraries to get pip install working, like libxmlsec1, postgresql, postgis, elasticsearch 6.x.

    • Alter your hosts file (e.g. in /etc/hosts on Linux/OSX) to contain tenants you've created like:

      127.0.0.1 tenant35.localhost
      

Testing

The BlueBottle test suite can be run completely using:

  1. Install the dependencies

    $ pip install -e .[test,dev]

  2. Create test db and restore testdata

    $ createdb test_reef $ psql test_reef < testdata.sql

  3. Run the tests

    $ python manage.py test -k

Pull request - Testing, Reviewing and Merging Flow

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

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.