From 4d7aca72e5882c60a6bc77578e295489d6526984 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 18 Jan 2016 15:23:35 +0100 Subject: [PATCH 1/3] removed unused JS includes (fr only) --- app/assets/javascripts/application.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 490af3904..40ea7dd2c 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -30,10 +30,8 @@ //= require angular-ui-router/release/angular-ui-router //= require angular-bootstrap/ui-bootstrap-tpls //= require select2/select2 -//= require select2/select2_locale_fr //= require angular-ui-select2/src/select2 //= require moment/moment -//= require moment/locale/fr //= require angular-moment/angular-moment //= require ngUpload/ng-upload //= require jasny-bootstrap/js/fileinput @@ -57,6 +55,5 @@ //= require_tree ./directives //= require_tree ./filters //= require summernote/dist/summernote -//= require summernote/lang/summernote-fr-FR //= require summernote/plugin/summernote-ext-video -//= require angular-summernote/dist/angular-summernote \ No newline at end of file +//= require angular-summernote/dist/angular-summernote From cf294b505af3333795873010e818548bc8c1b95d Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 18 Jan 2016 15:39:04 +0100 Subject: [PATCH 2/3] updated readme about translations --- README.md | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dd9fc255b..e10f6f265 100644 --- a/README.md +++ b/README.md @@ -114,14 +114,35 @@ The following files must be filled with the correct configuration to allow FabMa -## 4. Know issues +## 4. Known issue - 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: + + ```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' + ... + ``` + + To solve this issue, edit your `/etc/postgresql/9.4/main/pg_hba.conf` as root and replace the following: + + ```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`). - $ bundle pack - $ bundle install --path vendor/cache ## 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) \ No newline at end of file From 9f4126170c08d0acc47e648cbdce5a08dee14b56 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 18 Jan 2016 15:54:32 +0100 Subject: [PATCH 3/3] fix links in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e10f6f265..c3bf72c96 100644 --- a/README.md +++ b/README.md @@ -144,5 +144,5 @@ The following files must be filled with the correct configuration to allow FabMa ## 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) \ No newline at end of file +- French translation is available on the branches [master](../../tree/master) and [dev](../../tree/dev) +- English translation is available on the branch [english](../../tree/english) \ No newline at end of file