Answers.Body: <p>Try:</p>
  
  <pre><code>cp bin/setup.conf.txt bin/setup.conf
  </code></pre>
  
  <p>Then edit and fill in appropriate values in the setup.conf file before trying to run regen.sh.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-13T23:21:52.600Z
Answers.LastActivityDate: 2015-04-17T12:59:02.987Z
Answers.LastEditDate: 2015-04-17T12:59:02.987Z
Answers.UserDisplayName: Joe Murray
Body: <p>I am working on CRM-11369 bug. However, I was facing problems in generating sql/civicrm_generated.mysql using bin/regen.sh file. The fifth line of bin/regen.sh file is 'source dirname $0/setup.conf'. But there is no setup.conf file in this folder. So I made a copy of bin/setup.conf.txt as bin/setup.conf and filled in the values for CIVISOURCEDIR, DBNAME, DBUSER and DBPASS. I'm still runnning into errors.</p>
  
  <p>I get the following error:</p>
  
  <p>bower <em>angular-jquery-dialog-service#civicrm resolve <a href="https://github.com/totten/angular-jquery-dialog-service.git#civicrm" rel="nofollow">https://github.com/totten/angular-jquery-dialog-service.git#civicrm</a></em></p>
  
  <p>bower <em>retry Request to <a href="https://bower.herokuapp.com/packages/angular" rel="nofollow">https://bower.herokuapp.com/packages/angular</a> failed with ECONNRESET, retrying in 1.0s</em></p>
  
  <p>It would be great if someone could help me with this.</p>
  
Tags: <sql><debugging>
Title: How do I generate sql/civicrm_generated.mysql using bin/regen.sh file?
ThreadText: # How do I generate sql/civicrm_generated.mysql using bin/regen.sh file?
  
  (Asked by: username_0 on 2015-04-13)
  
  I am working on CRM-11369 bug. However, I was facing problems in generating sql/civicrm\_generated.mysql using bin/regen.sh file. The fifth line of bin/regen.sh file is 'source dirname $0/setup.conf'. But there is no setup.conf file in this folder. So I made a copy of bin/setup.conf.txt as bin/setup.conf and filled in the values for CIVISOURCEDIR, DBNAME, DBUSER and DBPASS. I'm still runnning into errors.
  
  I get the following error:
  
  bower *angular-jquery-dialog-service#civicrm resolve <https://github.com/totten/angular-jquery-dialog-service.git#civicrm>*
  
  bower *retry Request to <https://bower.herokuapp.com/packages/angular> failed with ECONNRESET, retrying in 1.0s*
  
  It would be great if someone could help me with this.
  
  **Tags:** sql, debugging
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-04-13. Score: 1
  
  Try:
  cp bin/setup.conf.txt bin/setup.conf
  
  Then edit and fill in appropriate values in the setup.conf file before trying to run regen.sh.
  
  
  ---
  
  