GithubHelp home page GithubHelp logo

weaver / message-db Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thisismedium/message-db

1.0 1.0 0.0 273 KB

Versioned datastore for structured content.

Home Page: http://messagecms.com/

message-db's Introduction

Message Database

The Message Database is a versioned datastore for structured content.

Installation

The easiest way to install this project is to download Message and use its install scripts. To install Message DB manually, follow these steps.

First, install some dependencies:

sudo easy_install setuptools pycurl==7.16.2.1 simplejson ply lxml pyyaml
sudo easy_install -f http://www.tornadoweb.org/ tornado

Next, set up a devlopment area to track several repositories related to this project:

mkdir ~/projects; cd ~/projects

git clone git://github.com/thisismedium/md.git
cd md
python setup.py build
sudo python setup.py develop

cd ..
git clone git://github.com/thisismedium/python-sasl.git
cd python-sasl
python setup.py build
sudo python setup.py develop

cd ..
git clone git://github.com/thisismedium/python-xmpp-server.git
cd python-xmpp-server
python setup.py build
sudo python setup.py develop

cd ..
git clone git.hosts.coptix.com:/git/mdb.git
cd mdb
git checkout origin/prototype -b prototype
python setup.py build
sudo python setup.py develop

Verify everything worked by running a test query:

python examples/demo-query.py '*'

BOSH

To run the example BOSH server, install punjab:

sudo easy_install twisted
sudo easy_install -f http://code.stanziq.com/punjab/releases/ punjab

In one terminal:

cd ~/projects/mdb/examples
twistd -ny repl.tac

In another terminal:

cd ~/projects/mdb/examples
python demo-server.py

Visit http://localhost:5280/repl.html in a browser. You may edit the YAML data in the examples/demo folder to change the content tree. If you do this, the datastore needs to rebuilt:

rm ~/projects/mdb/examples/demo/demo.data
## restart demo-server.py

message-db's People

Stargazers

 avatar

Watchers

 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.