Skip to content

charles-marion/SlideAtlas-Server

 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.7%
  • Python 21.4%
  • Other 0.9%