You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
app | 2 years ago | |
bin | 2 years ago | |
config | 2 years ago | |
db | 2 years ago | |
lib | 2 years ago | |
log | 2 years ago | |
public | 2 years ago | |
storage | 2 years ago | |
test | 2 years ago | |
tmp | 2 years ago | |
vendor | 2 years ago | |
.browserslistrc | 2 years ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
.ruby-version | 2 years ago | |
Gemfile | 2 years ago | |
Gemfile.lock | 2 years ago | |
IDEAS.md | 2 years ago | |
README.md | 2 years ago | |
Rakefile | 2 years ago | |
babel.config.js | 2 years ago | |
config.ru | 2 years ago | |
package.json | 2 years ago | |
postcss.config.js | 2 years ago | |
yarn.lock | 2 years ago |
README.md
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
-
...