diff --git a/README.md b/README.md index dd9fc255b..c3bf72c96 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 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