Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for Barong interaction with client app #177

Closed
gfedorenko opened this issue Feb 23, 2018 · 2 comments
Closed

Update documentation for Barong interaction with client app #177

gfedorenko opened this issue Feb 23, 2018 · 2 comments

Comments

@gfedorenko
Copy link
Contributor

No description provided.

@MaxSmile
Copy link

MaxSmile commented Mar 5, 2018

Say us something about config/database.yml in the documentation, thanks!

~/barong$ bundle exec rake db:create db:migrate
rake aborted!
Cannot load `Rails.application.database_configuration`:
Could not load database configuration. No such file - ["config/database.yml"]
/home/deploy/.rvm/gems/ruby-2.4.2/gems/railties-5.1.4/lib/rails/application/configuration.rb:139:in `database_configuration'
/home/deploy/.rvm/gems/ruby-2.4.2/gems/activerecord-5.1.4/lib/active_record/railtie.rb:34:in `block (3 levels) in <class:Railtie>'
/home/deploy/.rvm/gems/ruby-2.4.2/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in `<main>'

Caused by:
Could not load database configuration. No such file - ["config/database.yml"]
/home/deploy/.rvm/gems/ruby-2.4.2/gems/railties-5.1.4/lib/rails/application/configuration.rb:139:in `database_configuration'
/home/deploy/.rvm/gems/ruby-2.4.2/gems/activerecord-5.1.4/lib/active_record/railtie.rb:34:in `block (3 levels) in <class:Railtie>'
/home/deploy/.rvm/gems/ruby-2.4.2/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:create => db:load_config
(See full trace by running task with --trace)

@shal
Copy link
Contributor

shal commented Mar 5, 2018

Hi @MaxSmile!

Please, create new issue related to your question.

P.S. You should configure your local mysql DB, here is example configuration .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants