Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (43 sloc) 1.31 KB


Gentoo Linux

  • add this line to your make.conf

    USE_PYTHON="2.7 3.1 3.2"

  • sudo emerge -av imagemagick

  • sudo emerge -av dev-lang/python:2.7
  • sudo eselect python set python2.7
  • sudo emerge -av mongodb
  • sudo emerge -av dev-python/pip
  • sudo pip install pymongo


  • sudo port install ImageMagick +no_x11
  • sudo port install python27
  • sudo port install mongodb
  • sudo port install py27-pymongo

Common: uWSGI

  • wget
  • tar zxvf uwsgi-lts.tar.gz
  • cd uwsgi-$VERSION
  • make
  • cp uwsgi /usr/local/bin/


  • cd /opt
  • git clone git://
  • cd imsto
  • less read launch development

Launch development

  • mongodb:

    mongo localhost/storage

    db.img.files.ensureIndex({md5:1},{background:true, unique:true, dropDups:true});
  • nginx: add config/nginx/host.imsto.conf to nginx.conf

    include /opt/imsto/config/nginx/host.imsto.conf;

    vim /etc/hosts
  • uwsgi: there have two socket service

    start image handle: sudo ./sbin/ start

    start manage handle: ./ start

  • open url

Something went wrong with that request. Please try again.