Skip to content

Commit

Permalink
enable logging to temp file, install blast in vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Aug 28, 2017
1 parent 4668c54 commit d5ce5af
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ apt-get install -y git
apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk

apt-get install -y nginx
apt-get install -y nginx ncbi-blast+
service nginx start

# Postgresql
Expand Down
19 changes: 18 additions & 1 deletion voseq/voseq/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,24 @@
}
},
]

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': '/tmp/voseq.log',
},
},
'loggers': {
'django': {
'handlers': ['file'],
'level': 'DEBUG',
'propagate': True,
},
},
}
ROOT_URLCONF = 'voseq.urls'

WSGI_APPLICATION = 'voseq.wsgi.application'
Expand Down

0 comments on commit d5ce5af

Please sign in to comment.