Re: [Rdkit-discuss] Struggling with apache + rdkit + django
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
From: Michał N. <mm...@gm...> - 2016-06-21 19:24:17
|
Hi Stéphane, Just to let you know about two things: 1. ChEMBL web services are a Django application written using RDKit. We deploy it using gunicorn and Apache through Reverse Proxy and put on a Virtual Machine named myChEMBL that you can download. Here are some example configuration files: https://github.com/chembl/mychembl/tree/master/webservices/conf but I'm happy to explain more if you want. 2. There is a project called Beaker that exposes most of RDKit methods as RESTful API. The source code is here: https://github.com/chembl/chembl_beaker and a live instance here: https://www.ebi.ac.uk/chembl/api/utils/docs Kind regards, Michał Nowotka On Tue, Jun 21, 2016 at 7:46 PM, Téletchéa Stéphane <ste...@un...> wrote: > Le 21/06/2016 20:18, TJ O'Donnell a écrit : >> I would suggest setting PYTHONPATH in >> config or ini files for >> Apache or Django or uwsgi >> Not sure which is required. > > Dear all, > > This is already indicated using a WSGIprocessGroup : > > WSGIDaemonProcess manageLibrary > python-path=/path/to/project/projets/manageLibrary:/path/to/project/projets/manageLibrary/tools/django1.8/lib/python2.7/site-packages:/path/to/project/projets/manageLibrary/tools/rdkit/lib:/path/to/project/projets/manageLibrary/tools/rdkit/lib/python2.7/site-packages > display-name=manageLibrary > WSGIProcessGroup manageLibrary > WSGIScriptAlias /tools/manageLibrary > '/path/to/project/projets/manageLibrary/manageLibrary/wsgi.py' > > > See more in detail here: > https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-apache-and-mod_wsgi-on-ubuntu-14-04 > > I have also checked permisisons and files with no luck (and no output in > logs ...). > > I may start from scratch with a simple django project to find if is > already works there ... > > Many Thanks, if you have any direction I'll be happy to test, > > Stéphane > > -- > Assistant Professor in BioInformatics, UFIP, UMR 6286 CNRS, Team Protein Design In Silico > UFR Sciences et Techniques, 2, rue de la Houssinière, Bât. 25, 44322 Nantes cedex 03, France > Tél : +33 251 125 636 / Fax : +33 251 125 632 > http://www.ufip.univ-nantes.fr/ - http://www.steletch.org > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Rdkit-discuss mailing list > Rdk...@li... > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss |