Skip to content
Book search software
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
buildout.d
etc
kiberpipa
.gitignore
.pep8
.travis.yml
HISTORY.rst
LICENSE
MANIFEST
README.rst
bootstrap.py
run_tests.sh
setup.cfg
setup.py

README.rst

SETUP DEVELOPMENT ENVIRONMENT

$ git clone https://github.com/kiberpipa/kiberpipa.bookshelf && cd kiberpipa.bookshelf
$ sudo apt-get install python26 python26-dev python26-setuptools
$ echo -e "[buildout]\nextends = buildout.d/development.cfg" > buildout.cfg
$ cp buildout.d/secrets.cfg.sample buildout.d/secrets.cfg
$ vim buildout.d/secrets.cfg
$ python2.6 bootstrap.py -d
$ bin/buildout
# deploy solr to solr/ folder
$ java -jar solr/start.jar
$ bin/pserve --reload development.ini

DEPLOY

$ sudo apt-get install python26 python26-dev python26-setuptools
$ git clone https://github.com/kiberpipa/kiberpipa.bookshelf production && cd production
$ echo -e "[buildout]\nextends = buildout.d/production.cfg" > buildout.cfg
$ cp buildout.d/secrets.cfg.sample buildout.d/secrets.cfg
$ vim buildout.d/secrets.cfg
$ python bootstrap.py -d
$ bin/buildout
# deploy solr to solr/ folder
$ bin/supervisord
You can’t perform that action at this time.