Skip to main content

The server component for Clutch framework and Cluth A/B Testing.

Project description

Clutch.io

Clutch.io is two projects:

  • Native A/B testing for iOS and Android

  • A toolkit for developing hybrid native/HTML applications for iOS

You may be interested in one or the other, but this project is the server component for both projects.

Prerequisites

  • Python 2.6 or Greater

  • PostgreSQL (including the required headers to compile psycopg2)

  • libevent 2.0.20

  • S3 Account (for hybrid native/html application framework ONLY)

Installing and Running Clutch.io

Before you get started, make sure all of the prerequisites are installed and that PostgreSQL is running. Now we need to create a Clutch user and database:

createuser -s clutch

createdb -E utf8 –owner=clutch clutch

Next we need to install Clutch:

easy_install clutchserver

Now we will generate a configuration file used to setup ports and such:

clutch-config > conf.py

You can check the configuration defaults provided by clutch-config and decide whether they are right for your setup. For most people, the defaults should be just fine. When you’re ready, let’s start up the server:

clutch-all conf.py

That’s it, you’re now running Clutch.io! Visit http://127.0.0.1:8000/ to see it in action.

More Documentation

See http://clutchio.github.com/

Local Documentation

To generate a local copy of the above documentation, first check out this repo:

git clone https://github.com/clutchio/clutch.git

Make sure you have Sphinx installed so that you can generate the docs:

easy_install Sphinx==1.1.3

Now change to the docs directory and make the docs

cd clutch/docs make html

Finally, open the docs:

open _build/html/index.html

Tests

To run the tests, generate a test configuration file using clutch-config like above, but instead of using clutch-all to run it, use clutch-test:

clutch-test conf.py

This is one area where this project could use a lot of help. If you’re interested in contributing, helping out by improving our test coverage is a great place to start!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clutchserver-0.1.0.tar.gz (11.6 MB view details)

Uploaded Source

File details

Details for the file clutchserver-0.1.0.tar.gz.

File metadata

File hashes

Hashes for clutchserver-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e7705c446bdfa020b3a287b7bb954928fe097b4770c86ee6eea301cec341b6a2
MD5 56e5c29fbb5a7580762237fef95e4590
BLAKE2b-256 3598a643301a2435157c07a105bb430ef217fc2ec033b5a11d664ab5573079e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page