Welcome to Bugspad2’s documentation!

Contents:

Installation

Requirements

  • flask
  • flask-admin
  • sqlalchemy
  • python-redis
  • redis
  • albemic

Setting up a devel instance

Start the redis server

# service redis start

Database creation

$ python createdb.py

The above command will create the database schema as required.

Start the server

$ python runserver.py

Create the first user and test data

Modify testdata.py file for your username, email and password.

You need to download comps.json for the components.

Then run the file as:

$ python testdata.py

This will add a user and a product and test components for the product.

Design notes

We are using redis to store all search related indexes on memory. This means any search term must be indexed in redis.

View a bug

Only comments will come from db, rest should be coming from redis.

Indices and tables