Giter Site home page Giter Site logo

suntux / entcore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from morquea/entcore

0.0 1.0 0.0 44.77 MB

ODE educational social network engine

License: Other

JavaScript 17.96% Java 41.71% CSS 19.50% HTML 7.58% TypeScript 9.71% Shell 0.06% PLpgSQL 0.07% Python 0.26% Scala 3.15%

entcore's Introduction

Notes d'utilisation

Ent-Core est un ENT minimaliste, modulaire et versatile. Il permet d'implémenter aussi bien des ENT de premier et de second degré.

Remarques : Ces notes proposent une démarche rapide de prise en main (typiquement l'installation d'une machine de développement). Elles ne détaillent pas l'installation des composants techniques (ex : base de données).

Installation rapide

Récupérer le code

Installer le Git et lancer la commande suivante dans un terminal

git clone http://code.web-education.net/one/ent-core.git

Installer les composants techniques

Configurer

Reiseigner le dépôt mandataire de dépendances Maven d'ent-core. Ajouter au fichier {VERTX_HOME}/conf/repos.txt la ligne suivante :

maven:http://maven.web-education.net/nexus/content/groups/public/

Remarques : L'utilisateur qui lance ent-core doit avoir les droits sur le dossier d'installation de Vert.x, pour permettre l'installation de modules (Vert.x) systèmes.

Installer le schéma de base neo4j :

neo4j-shell < {VERSION_ENTCORE}/{NOM_SCHEMA}-schema.cypher

Compiler et Lancer

Lancer la commande de construction gradle à la racine du dépôt ent-core :

gradle copyMod

Lancer la plate-forme avec vert.x

vertx runmod org.entcore~infra~{VERSION_ENTCORE}

Accéder à l'application dans un navigateur à l'URL:

http://localhost:8090

Développer

Configuration

Le fichier de configuration général de la plate-forme est {ENTCORE_HOME}/infra/src/main/resources/mod.json Pour personnaliser la configuration et éviter les conflits procéder de la manière suivante :

  1. Éditer le ficher {ENTCORE_HOME}/developer.id avec votre identifiant de développeur {devid}. Il doit être exclusivement composé de lettres ([a-z])
  2. Copier le fichier de configuration {ENTCORE_HOME}/infra/src/main/resources/mod.json dans le fichier {ENTCORE_HOME}/infra/src/main/resources/{devid}.mod.json
  3. Personnaliser le fichier {devid}.mod.json

Ent-Core utilisera prioritairement votre fichier de configuration développeur.

Cycle de vie

Lancer depuis le projet racine :

  • gradle copyMod : Construit et déploie dans mods tous les modules
  • gradle clean : Supprime tous les éléments créés par copyMod
  • gradle :{nom_module}:copyMod : copyMod juste pour {nom_module}
  • gradle :{nom_module}:clean : clean juste pour {nom_module}
  • gradle integrationTest : Éxécute les test d'intégrations

Débugage

Ajouter la variable d'environement suivante pour debugger sur le port 5000

export VERTX_OPTS='-Xdebug Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000'

entcore's People

Contributors

dboissin avatar elbywan avatar benjaminperez avatar lauren-ceccotti avatar wano-k avatar david-cc avatar rdjedjig avatar nabil-mansouri avatar sinthu-s avatar dbreyton avatar chokoneko avatar sgrenet avatar simbas avatar jeducray avatar justinemuller avatar sledunois avatar vogelmt avatar gfrancillette avatar niphra avatar rgentet avatar invfo avatar rhitarah avatar lugana avatar lpotcgi avatar hfanaba avatar vmourot avatar jrobertou avatar gaetanrouzies avatar louisvinet avatar zkourrida avatar

Watchers

Suntux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.