ReleaseEngineering/BuildAPI/Setup Local Virtualenv for BuildAPI: Difference between revisions

(update for new script location)
 
Line 239: Line 239:
<li>make checkconfig
<li>make checkconfig
* Should say: Config file is good!</li>
* Should say: Config file is good!</li>
<li>Link up buildbot to your MySQL schedulerdb
* Modify BASEDIR/build-master/master.cfg from c['db_url'] = "sqlite:///state.sqlite" to c['db_url'] = "mysql://buildbot:buildbot@localhost/temp_schedulerdb"
** NOTE: The regex does not like a mysql user that has no password. Originally, I had specified root: , ie "mysql://root:@localhost/temp_schedulerdb", so I made a new user named buildbot, password buildbot.
* pip install MySQL-python==1.2.3
* Modify bin/activate by adding export PATH=$PATH:/usr/local/mysql/bin
</li>
<li>make start
<li>make start
<ul><li> It will appear as if start has failed, but fear not! You'll see the message below, but this is simply because the buildbot process is launched as a dameon and buildmaster waits to give the all configuration is complete signal. However, Mozilla's configuration files are way to complicated to be dealt with in under 10 seconds, so it times out and you see the message below:
<ul><li> It will appear as if start has failed, but fear not! You'll see the message below, but this is simply because the buildbot process is launched as a dameon and buildmaster waits to give the all configuration is complete signal. However, Mozilla's configuration files are way to complicated to be dealt with in under 10 seconds, so it times out and you see the message below:
Confirmed users
194

edits