!SFdrzrNSCrWKldTxjP:matrix.org

OLKi dev

3 Members
development room for OLKi, the self-hosted linguistic corpora exchange platform, that aims to be a simple gateway to the fediverse for scientific interaction. https://framagit.org/synalp/olki/olki/issues2 Servers

Load older messages


SenderMessageTime
16 Jun 2020
@rigelk:matrix.orgrigelk
In reply to @pprw:matrix.org
je finalise l'installation et j'aurais quelques questions si tu as 10 min
bien sûr
13:41:59
@pprw:matrix.orgpprwje suis les étapes de la page https://framagit.org/synalp/olki/olki/-/wikis/Admin-documentation13:43:37
@pprw:matrix.orgpprwil y a une typo à la commande docker-compose -f support/docker/docker-compose.yml run olki manage listusers13:44:10
@pprw:matrix.orgpprwça devrait être : docker-compose -f support/docker/docker-compose.yml run olki manage user list 13:44:29
@rigelk:matrix.orgrigelk
In reply to @pprw:matrix.org
ça devrait être : docker-compose -f support/docker/docker-compose.yml run olki manage user list
merci - j'ai renommé la commande depuis en effet !
13:44:54
@pprw:matrix.orgpprwok13:45:36
@pprw:matrix.orgpprwdu coup j'en suis là13:45:39
@gitlab:t2bot.ioGitlab Notifications [OLKi/OLKi] Rigel Kent updated page on wiki Admin documentation (#0) 13:45:40
@pprw:matrix.orgpprwvoici ce que j'ai fait pour l'instant :13:45:51
@pprw:matrix.orgpprw
  • Notes installation plateforme OLKi
    ** dépendances
    *** docker

$ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
$ sudo docker run hello-world
$ sudo usermod -aG docker $USER
(juste pout éviter le "sudo" à l'avenir)

$ sudo apt install docker-compose

*** $ pip install poetry

The script poetry is installed in '/home/ahp/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

** olki
*** install

$ git clone https://framagit.org/synalp/olki/olki.git
$ cd olki
personnaliser ./support/docker/.env
$ mv .env.default .env
personnaliser .env

$ docker-compose -f support/docker/docker-compose.yml pull
$ docker-compose -f support/docker/docker-compose.yml up -d
$ docker-compose -f support/docker/docker-compose.yml run olki manage createsuperuser --email "pierre.willaime@univ-lorraine.fr" --password ...... --username ahp
$ docker-compose -f support/docker/docker-compose.yml run olki manage user list

13:46:14
@pprw:matrix.orgpprwQuestion : est-ce que je fois configure le site dans nginx ou est-ce que c'est fait automatiquement par docker ?13:47:01
@rigelk:matrix.orgrigelk
In reply to @pprw:matrix.org
Question : est-ce que je fois configure le site dans nginx ou est-ce que c'est fait automatiquement par docker ?
non, ce n'est pas configuré automatiquement
13:48:15
@pprw:matrix.orgpprwok13:50:56
@pprw:matrix.orgpprwSinon ça a l'air de se lancer correctement avec docker-compose -f support/docker/docker-compose.yml run olki13:51:18
@pprw:matrix.orgpprwest-ce qu'il y a un modèle pour la config nginx ?13:52:56
@rigelk:matrix.orgrigelknon, tu as juste besoin d'un simple proxy_pass vers le port du service13:56:41
@pprw:matrix.orgpprwC'est le 443 ?14:00:58
@rigelk:matrix.orgrigelk
In reply to @pprw:matrix.org
C'est le 443 ?
https://framagit.org/synalp/olki/olki/-/blob/develop/support/docker/docker-compose.yml#L8
14:01:40
@pprw:matrix.orgpprwFile Edit Options Buffers Tools Help server { listen 80; listen [::]:80; server_name olki.ahp-numerique.fr; access_log /var/log/nginx/olki.ahp-numerique.fr.access.log; error_log /var/log/nginx/olki.ahp-numerique.fr.error.log; location / { proxy_pass 127.0.0.1:5000; } 14:02:34
@pprw:matrix.orgpprwça te semble ok ?14:02:51
@pprw:matrix.orgpprwC'est le /etc/nginx/sites-available/olki14:02:57
@rigelk:matrix.orgrigelk
In reply to @pprw:matrix.org
C'est le /etc/nginx/sites-available/olki
il faut un listen 443 si tu veux supporter https
14:03:26
@rigelk:matrix.orgrigelket le bloc n'est pas fermé à la fin14:03:46
@pprw:matrix.orgpprwOui mais je devrais configure letsencrypt non ?14:03:50
@rigelk:matrix.orgrigelkprobablement, oui14:04:08
@rigelk:matrix.orgrigelk(sauf si tu as déjà un certificat)14:04:33
@pprw:matrix.orgpprwje teste d'abord juste en http14:04:35
@rigelk:matrix.orgrigelkokay14:04:43
@pprw:matrix.orgpprwok j'ai une erreur en rédémarrant nginx14:05:34
@pprw:matrix.orgpprw$ sudo service nginx restart Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. ahp@cchum-kvm-ahponcar:~/sites/olki$ systemctl status nginx.service ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/nginx.service.d └─override.conf Active: failed (Result: exit-code) since Tue 2020-06-16 16:05:08 CEST; 7s ago Docs: man:nginx(8) Process: 11174 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) 14:05:43

Show newer messages


Back to Room ListRoom Version: 1