Go to file
2021-01-30 21:59:25 +01:00
app pagination 2021-01-30 21:59:25 +01:00
bin initial commit 2020-10-17 12:16:28 +02:00
config configuration compatible avec un reload! 2021-01-24 09:45:40 +01:00
db Transformation de Email en objet ActiveRecord 2021-01-30 18:31:05 +01:00
lib Renommage de "entity" en "organisation" 2021-01-23 18:08:27 +01:00
log initial commit 2020-10-17 12:16:28 +02:00
public initial commit 2020-10-17 12:16:28 +02:00
storage initial commit 2020-10-17 12:16:28 +02:00
test Transformation de Email en objet ActiveRecord 2021-01-30 18:31:05 +01:00
tmp initial commit 2020-10-17 12:16:28 +02:00
vendor initial commit 2020-10-17 12:16:28 +02:00
.browserslistrc initial commit 2020-10-17 12:16:28 +02:00
.gitignore gitignore Procfile 2020-12-31 15:33:24 +01:00
.ruby-version Ruby 3.0.0 2020-12-27 11:44:17 +01:00
babel.config.js initial commit 2020-10-17 12:16:28 +02:00
config.ru initial commit 2020-10-17 12:16:28 +02:00
Gemfile pagination 2021-01-30 21:59:25 +01:00
Gemfile.lock pagination 2021-01-30 21:59:25 +01:00
IDEAS.md extraction de la logique d'évaluation 2021-01-23 18:12:57 +01:00
package.json initial commit 2020-10-17 12:16:28 +02:00
postcss.config.js initial commit 2020-10-17 12:16:28 +02:00
Rakefile initial commit 2020-10-17 12:16:28 +02:00
README.md pagination 2021-01-30 21:59:25 +01:00
yarn.lock initial commit 2020-10-17 12:16:28 +02:00

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

Testé principalement avec Ruby 3.0 mais probabement compatible avec des versions précédentes (2.7, 2.5…).

  • System dependencies

Elasticsearch Redis une base SQL (SQLite, MySQL/MariaDB ou PostgreSQL). Elinks en option (pour tranformer le HTML en texte brut)

  • Configuration

  • Database creation

rails db:migrate
  • Database initialization
rails db:seed

Pour injecter les metadonnées issues de LDAP :

rails metadata_mappings:import

Pour injecter manuellement des mails dans le système (le serveur Rails doit tourner) :

for file in tmp/equipe-select/*.eml; do cat "${file}" | rails action_mailbox:ingress:postfix URL=http://0.0.0.0:3000/rails/action_mailbox/relay/inbound_emails INGRESS_PASSWORD=XXXXXXXX; done
  • How to run the test suite
rails test
  • Services (job queues, cache servers, search engines, etc.)
bundle exec sidekiq
  • Deployment instructions

  • ...