From 06e6d965d57d4fa08dfb262157002e537cbf4d47 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 18 Jan 2016 15:40:30 +0100 Subject: [PATCH] updated readme about translations --- README.md | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 106c45772..55fa46716 100644 --- a/README.md +++ b/README.md @@ -114,23 +114,35 @@ The following files must be filled with the correct configuration to allow FabMa -## 4. Know issues +## 4. Known issue -1. If you encounter a problem with bundler (unable to run `$ rails c` or `$ rails g`), you can fix it running the following commands: + You may encounter the following error message when running the application for the first time: - $ bundle pack - $ bundle install --path vendor/cache - -2. While running `$ rake db:setup`, the following error message may appear: + ```bash + Uncaught exception: FATAL: authentification peer échouée pour l'utilisateur « USERNAME » + Exiting + .rvm/gems/ruby-2.2.1@fabmanager/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `initialize' + ... + ``` - rake aborted! - PG::ConnectionBad: FATAL: le rôle « user » n'existe pas + To solve this issue, edit your `/etc/postgresql/9.4/main/pg_hba.conf` as root and replace the following: -To solve this problem, run the following commands (don't forget to replace `user` by your current username): + ```bash + # comment over or replace... + local all all peer + # ...by the following: + local all all trust + ``` + + Then, restart postgreSQL to validate the modification (`sudo service postgresql restart`). + + - $ sudo -i -u postgres - $ psql - $ CREATE ROLE user WITH CREATEDB, LOGIN; ## 5. Related Documentation - Angular-Bootstrap: http://angular-ui.github.io/bootstrap/ + + +## 6. Translations +- French translation is available on the branches [master](../tree/master) and [dev](../tree/dev) +- English translation is available on the branch [english](../tree/english)