IdentiPy Server - a Django-based web interface for IdentiPy
- Python 2.7
- identipy and its dependencies
- MP score and its dependencies
MP score: https://bitbucket.org/markmipt/mp-score
How to run IdentiPy Server
IdentiPy Server currently works on Unix-like operating systems only. IdentiPy and MP score are imported from directories adjacent to IdentiPy Server.
Switch to a directory that will hold the installation, then download the three components of IdentiPy Server, like this:
$ hg clone https://bitbucket.org/levitsky/identipy_server $ hg clone https://bitbucket.org/levitsky/identipy $ hg clone https://bitbucket.org/markmipt/mp-score
Run these commands to initialize the database:
$ cd identipy_server $ python2 manage.py migrate $ python2 manage.py createsuperuser $ python2 manage.py createuser <username>
You can then run Django development server to test your setup:
$ python2 manage.py runserver
While the development server is running, you can log into IdentiPy Server and use it in your browser.
For more reliable use (especially for multiple-user installations), we recommend running IndetiPy Server with a WSGI-compatible web server application like Apache or Nginx+uWSGI, instead of the Django development server:
Example configuration files are included:
identipy.example.ini- for uWSGI;
identipy.example.conf- for nginx;
example-httpd-vhosts.conf- for Apache with mod_wsgi and virtual hosts.
You may need to edit the following settings in
EMAIL_*(these are specific to the project)
For explanation of Django settings see the official documentation: https://docs.djangoproject.com/en/1.11/ref/settings/