Skip to content

makoConstruct/merveilles_io

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

merveilles_io

A flask + kyotocabinet app that lists links posted to it in a timeline like fashion.

Installation

Running the development version is relatively simple. You'll need python2, pip and preferably virtualenvwrapper.

  1. Create virtual environment: mkvirtualenv merveilles
  2. Install requirements: pip install -r requirements.txt
  3. Install Kyoto Cabinet:
    cd dependencies/
    tar -xf kyotocabinet-1.2.76.tar.gz
    cd kyotocabinet-1.2.76
    ./configure
    make
    sudo make install
  1. Install kyoto cabinet python bindings into your virtual environment
    cd dependencies/
    tar -xf kyotocabinet-python-legacy-1.18.tar.gz
    cd kyotocabinet-python-legacy-1.18
    make
    sudo make install
    python setup.py install
  1. You'll also need OlegDB running to handle user stuff. We have a multi-database paradigm! Great!
  2. Make sure OlegDB is running on the default host/port.
  3. Run the dev server: python src/main.py --debug --db=./merveilles.kct

Thats pretty much it. Running it in production involves uwsgi and I don't want to write that up right now.

About

A flask + kyotocabinet app that lists links posted to it in a timeline like fashion.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.0%
  • Python 40.9%
  • CSS 7.7%
  • Shell 0.4%