mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
updated readme about translations
This commit is contained in:
parent
7412bba7f2
commit
06e6d965d5
34
README.md
34
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
|
```bash
|
||||||
$ bundle install --path vendor/cache
|
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'
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
2. While running `$ rake db:setup`, the following error message may appear:
|
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`).
|
||||||
|
|
||||||
rake aborted!
|
|
||||||
PG::ConnectionBad: FATAL: le rôle « user » n'existe pas
|
|
||||||
|
|
||||||
To solve this problem, run the following commands (don't forget to replace `user` by your current username):
|
|
||||||
|
|
||||||
$ sudo -i -u postgres
|
|
||||||
$ psql
|
|
||||||
$ CREATE ROLE user WITH CREATEDB, LOGIN;
|
|
||||||
|
|
||||||
## 5. Related Documentation
|
## 5. Related Documentation
|
||||||
- Angular-Bootstrap: http://angular-ui.github.io/bootstrap/
|
- 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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user