mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-03-14 11:29:15 +01:00
commit
6d08d8a0fb
29
README.md
29
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)
|
@ -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
|
||||
//= require angular-summernote/dist/angular-summernote
|
||||
|
Loading…
x
Reference in New Issue
Block a user