Skip to content

Latest commit

 

History

History
77 lines (45 loc) · 1.7 KB

readme.rst

File metadata and controls

77 lines (45 loc) · 1.7 KB

To install dependencies

Requires python 2.7x, and pip.

Click here to install python and pip on windows Also please make sure that the python and scritps ("c:/python27/Scripts") are in PATH environment variable.

To install dependencies mentioned in requirements.txt

$ pip install -r requirements.txt --upgrade

To build documentation

Detailed documentation can be built using sphinx

$ cd docs
$ make html

To test

CMake is required for testing.

$ cd testing
$ ctest -S ctest_driver.cmake

To run

$ python run.py

This will start a webserver if the mongo database server is correctly configured in some configuration file similar to site_local.py.

Sample Apache configuration

<VirtualHost admin.slide-atlas.org:80>
     ServerName admin.slide-atlas.org
     ServerAdmin dhanannjay.deo@kitware.com

     WSGIDaemonProcess slideatlas user=www-data group=www-data threads=1
     WSGIScriptAlias / /var/slideatlas-admin/run_apache.wsgi

     <Directory /var/slideatlas-admin>
         WSGIProcessGroup slideatlas
         WSGIApplicationGroup %{GLOBAL}
         Order deny,allow
         Allow from all
     </Directory>

      ErrorLog ${APACHE_LOG_DIR}/error.log

      # Possible values include: debug, info, notice, warn, error, crit,
      # alert, emerg.
      LogLevel warn

      CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>