Difference between revisions of "ChlamDB"
Jump to navigation
Jump to search
(→Conda) |
|||
| Line 25: | Line 25: | ||
name: chlamdb | name: chlamdb | ||
channels: | channels: | ||
| − | - | + | - r |
- etetoolkit | - etetoolkit | ||
- bioconda | - bioconda | ||
- conda-forge | - conda-forge | ||
| − | |||
- defaults | - defaults | ||
dependencies: | dependencies: | ||
| − | - | + | - python=3.5.6 |
| − | + | - django=2.1.1 | |
| − | + | - django-extensions | |
| − | + | - bibtexparser | |
| − | - | + | - cairo |
| − | + | - r-cairo | |
| − | + | - r-vegan | |
| − | + | - r-gplots | |
| − | + | - r-gdtools | |
| − | + | - r-svglite | |
| − | + | - pandas | |
| − | + | - qtconsole | |
| − | + | - ete3 | |
| − | + | - ete_toolchain | |
| − | + | - pyqt=4.11.4 | |
| − | + | - matplotlib | |
| − | + | - scipy | |
| − | + | - pylibmc | |
| − | + | - simplejson | |
| − | + | - dill | |
| − | + | - gunicorn | |
| − | + | - numpy | |
| − | + | - pyqt | |
| − | + | - lxml | |
| − | + | - conda-build | |
| − | + | - reportlab | |
| − | + | - biopython | |
| − | + | - django-crispy-forms | |
| − | + | - mysqlclient | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | - django-extensions | ||
| − | - | ||
| − | - | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | - r- | ||
| − | - r- | ||
| − | - r- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | - r-gdtools | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | - r-svglite | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | - | ||
| − | |||
| − | |||
| − | |||
| − | - conda-build | ||
| − | - | ||
| − | - | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | - django | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | - mysqlclient | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
- pip: | - pip: | ||
| − | - cython | + | - cython |
| − | - django-citations | + | - django-citations |
| − | |||
==== packages R absents de conda à installer à la main ==== | ==== packages R absents de conda à installer à la main ==== | ||
Revision as of 17:23, 6 November 2018
Mise en ligne de la base de donnée Chlamdb
Page d’accueil
- mettre un nouvel onglet avec qq infos
- écrire une page tuto avec fonctions de base
- exporter le fichier avec environnementale conda nécessaire pour faire tourner la base de donnée
Setup chlamdb
Setup environnement fonctionnel
Conda
name: chlamdb channels: - r - etetoolkit - bioconda - conda-forge - defaults dependencies: - python=3.5.6 - django=2.1.1 - django-extensions - bibtexparser - cairo - r-cairo - r-vegan - r-gplots - r-gdtools - r-svglite - pandas - qtconsole - ete3 - ete_toolchain - pyqt=4.11.4 - matplotlib - scipy - pylibmc - simplejson - dill - gunicorn - numpy - pyqt - lxml - conda-build - reportlab - biopython - django-crispy-forms - mysqlclient - pip: - cython - django-citations
packages R absents de conda à installer à la main
- genoPlotR - flextable
setup X server pour ete3
1apt-get install xserver-xorg xdm xfonts-base xfonts-100dpi xfonts-75dpi
1In our example, edit the /etc/X11/xdm/xdm-config file and set following values:
2
3DisplayManager*authorize: false
4DisplayManager*authComplain: false
1/etc/init.d/xdm restart
1export DISPLAY=':0'
setup https
setup certificate and key with letsencrypt
1systemctl stop nginx
2letsencrypt certonly
3systemctl start nginx
update config
1upstream monsite {
2 # Adresse du serveur wsgi, par exemple gunicorn
3 server localhost:8001;
4 }
5
6# HTTP Request will be Redirected to the HTTPS
7server {
8 listen 80;
9 server_name chlamdb.ch;
10 return 301 https://$server_name$request_uri;
11 }
12
13server {
14 listen 443 ssl;
15 server_name chlamdb.ch;
16
17 ssl_certificate /etc/letsencrypt/live/chlamdb.ch/fullchain.pem;
18 ssl_certificate_key /etc/letsencrypt/live/chlamdb.ch/privkey.pem;
19
20 access_log /webapps/logs/GEN.access.log;
21 error_log /webapps/logs/GEN.error.log;
22
23 location / {
24 #include fastcgi_params;
25 proxy_pass http://monsite;
26 proxy_redirect off;
27 proxy_set_header Host $http_host;
28 proxy_set_header X-Real-IP $remote_addr;
29 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
30 proxy_set_header X-Forwarded-Proto $scheme;
31 }
32
33 location /assets {
34 autoindex on;
35 alias /home/ubuntu/dev/chlamdb/assets/;
36 }
37}