Created: 2012-03-23 22:07
Updated: 2015-06-19 21:31




Creates the database tables

django-admin.py syncdb Creates the database tables for all apps in INSTALLED_APPS whose tables have not already been created.

Use this command when you've added new applications to your project and want to install them in the database. This includes any apps shipped with Django that might be in INSTALLED_APPS by default. When you start a new project, run this command to install the default apps.

Apache & mod_wsgi

Virtual Host:

<VirtualHost *:80>
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www/dnafilterD

    WSGIScriptAlias / /var/www/dnafilterD/django.wsgi

    <Directory /var/www/dnafilterD>
    Options -Indexes
    Order allow,deny
    allow from all

    ErrorLog ${APACHE_LOG_DIR}/dnafilter_error.log

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

    CustomLog ${APACHE_LOG_DIR}/dnafilter_access.log combined


Path to external programs:

Set in local_settings.py the path to the blast executable, the makeblastdb and a directory for user supplied databases. For example:

blast_exe = '/home/USER/ncbi-blast-2.2.28+/bin/blastn' makeblastdb_exe = '/home/USER/ncbi-blast-2.2.28+/bin/makeblastdb' db_path = '/home/USER/ncbi-blast-2.2.28+/db/'

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more