Last active
April 23, 2025 15:18
-
-
Save antoine550/23579f59ef1215a1aa77c1818d5843b1 to your computer and use it in GitHub Desktop.
Installer entcore/openent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contactez moi sur contact@sachariet.com ou | |
1 Installer ubuntu server (j utilise 22.04) | |
pendant l installation selectioner openssh server puis apres quand demande docker | |
2 connectez vous en ssh sur votre serveur (putty recomandee) | |
3 executez "sudo groupadd docker" ("groupadd: group 'docker' already exists" est une erreur normale aucun probleme) | |
puis "sudo usermod -aG docker $USER" | |
et "sudo reboot" (fermer putty , attendez que le serveur redemare puis reconnectez vous) | |
4 executez "docker run hello-world" vous devez voir hello from docker! quelque pars | |
5 executer " ssh-keygen -t ed25519 -C "A CHANGER PAR EMAIL GITHUB@GITHUB.COM" " | |
6 executez "cat /home/sacha/.ssh/id_ed25519.pub" | |
copiez collez la cle sur votre github | |
7 executez "git clone git@github.com:entcore/springboard.git" | |
executez "cd springboard" | |
8 executez "nano docker-compose.yml" puis copiz collez cela | |
vertx: | |
image: opendigitaleducation/vertx-service-launcher:1.1-SNAPSHOT | |
user: "1000:1000" | |
ports: | |
- "8090:8090" | |
- "5000:5000" | |
volumes: | |
- ./assets:/srv/springboard/assets | |
- ./mods:/srv/springboard/mods | |
- ./ent-core.json:/srv/springboard/conf/vertx.conf | |
- ./aaf-duplicates-test:/home/wse/aaf | |
- ~/.m2:/home/vertx/.m2 | |
# - ./avatars:/srv/storage/avatars | |
links: | |
- neo4j | |
- postgres | |
- mongo | |
- elasticsearch | |
#environment: | |
# MAVEN_REPOSITORIES: '' | |
pdf: | |
image: opendigitaleducation/node-pdf-generator:1.0.0 | |
ports: | |
- "3000:3000" | |
neo4j: | |
image: neo4j:3.1 | |
volumes: | |
- ./neo4j-conf:/conf | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.9.3 | |
environment: | |
ES_JAVA_OPTS: "-Xms1g -Xmx1g" | |
MEM_LIMIT: 1073741824 | |
discovery.type: single-node | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
cap_add: | |
- IPC_LOCK | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
postgres: | |
image: postgres:9.5 | |
environment: | |
POSTGRES_PASSWORD: We_1234 | |
POSTGRES_USER: web-education | |
POSTGRES_DB: ong | |
mongo: | |
image: mongo:3.6 | |
gradle: | |
image: gradle:4.5-alpine | |
working_dir: /home/gradle/project | |
volumes: | |
- ./:/home/gradle/project | |
- ~/.m2:/home/gradle/.m2 | |
- ~/.gradle:/home/gradle/.gradle | |
node: | |
image: opendigitaleducation/node | |
working_dir: /home/node/app | |
volumes: | |
- ./:/home/node/app | |
- ~/.npm:/.npm | |
- ../theme-open-ent:/home/node/theme-open-ent | |
- ../panda:/home/node/panda | |
- ../entcore-css-lib:/home/node/entcore-css-lib | |
- ../generic-icons:/home/node/generic-icons | |
puis ctrl + x puis y puis entree | |
9 executez "nano conf.properties" | |
Dans la ligne "host=http://localhost:8090" changer localhost par votre ip | |
en bas ou il y a skins={"localhost:8090":"neoconnect", "192.168.99.100:8090":"neoconnect"} remplacez 192.168.99.100 par votre addresse ip | |
ctrl + x puis y puis entree | |
10 executez "sudo bash build.sh init" | |
11 executez "sudo bash build.sh generateConf" | |
12 executez "sudo bash build.sh buildFront" | |
13 executez "sudo bash build.sh run" | |
14 executez "sudo bash build.sh buildFront" | |
15 executez "git clone https://github.com/opendigitaleducation/entcore.git" | |
16 executez "sudo git clone https://github.com/opendigitaleducation/infra-front.git" | |
17 executez "cd entcore" | |
18 executez "sudo bash build.sh install" | |
19 executez "cd .." | |
20 executez "cd infra-front" | |
21 executez "sudo bash build.sh install" | |
PUIS C EST TERMINE allez sur ip-addresse:8090 utilisateur "tom.mate" mot de passe "password" | |
pour installer des applis genre les widgets | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment