Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.24 KB

INSTALL.md

File metadata and controls

48 lines (34 loc) · 1.24 KB

MDChecker quick install

Instructions to get a working MDChecker instance, for dev & testing purpose only.

Install system libraries

sudo apt-get install libxslt1-dev

Deploy and activate a fresh python virtualenv

virtualenv venv
cd venv
source bin/activate

Install requirements and application inside venv

git clone https://github.com/geobretagne/mdchecker.git mdchecker
pip install -r mdchecker/requirements.txt

If you must get through a http proxy, use this instead

git config --global http_proxy=http://addr:port/ 
git clone https://github.com/geobretagne/mdchecker.git mdchecker
pip install --proxy=http://addr:port/ -r mdchecker/requirements.txt

Then deploy application and get into the app dir :

cd mdchecker
python runserver.py

Point your browser to http://127.0.0.1:5000/

After first launch :

  • if etc/app.json is not present, it will be created with application default values. Edit this file to set application according to your needs
  • be sure to correctly set the proxy in etc/app.json. If there's no proxy, set an empty string
  • copy etc/server.cfg.DIST into etc/server.cfg to setup the werkzeug embedded server, see http://flask.pocoo.org/docs/0.10/config/#builtin-configuration-values