mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
add possible issue solution to readme + fix default db config
This commit is contained in:
parent
b267def130
commit
7412bba7f2
17
README.md
17
README.md
@ -116,12 +116,21 @@ The following files must be filled with the correct configuration to allow FabMa
|
||||
|
||||
## 4. Know issues
|
||||
|
||||
If you encounter a problem with bundler (unable to run `$ rails c` or `$ rails g`), you can fix it running the following commands:
|
||||
|
||||
$ bundle pack
|
||||
$ bundle install --path vendor/cache
|
||||
1. If you encounter a problem with bundler (unable to run `$ rails c` or `$ rails g`), you can fix it running the following commands:
|
||||
|
||||
$ bundle pack
|
||||
$ bundle install --path vendor/cache
|
||||
|
||||
2. While running `$ rake db:setup`, the following error message may appear:
|
||||
|
||||
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
|
||||
- Angular-Bootstrap: http://angular-ui.github.io/bootstrap/
|
||||
|
@ -22,11 +22,11 @@ development:
|
||||
# Connect on a TCP socket. Omitted by default since the client uses a
|
||||
# domain socket that doesn't need configuration. Windows does not have
|
||||
# domain sockets, so uncomment these lines.
|
||||
#host: localhost
|
||||
host: localhost
|
||||
|
||||
# The TCP port the server listens on. Defaults to 5432.
|
||||
# If your server runs on a different port number, change accordingly.
|
||||
#port: 5432
|
||||
port: 5432
|
||||
|
||||
# Schema search path. The server defaults to $user,public
|
||||
#schema_search_path: myapp,sharedapp,public
|
||||
|
Loading…
x
Reference in New Issue
Block a user