/usr/local/mysql/lib/libmysqlclient.18.dylib
/Library/Python/2.7/site-packages/_mysql.so
mysql --user=root monorail < schema/framework.sql
mysql --user=root monorail < schema/project.sql
mysql --user=root monorail < schema/tracker.sql
gclient runhooks
, which will install the correct versions of node
and npm
.npm install -g bower
to install Bower.../../../google_appengine/dev_appserver.py --mysql_user=root app.yaml module-besearch.yaml
UPDATE User SET is_site_admin = TRUE WHERE email = 'YOUR@EMAIL';
Restart your local dev appserver.
Instructions for deploying Monorail to an existing instance or setting up a new instance are here.
Here's how to run unit tests from the command-line:
To run all Python unit tests, in the appengine/monorail
directory run:
make test
For quick debugging, if you need to run just one test you can do the following. For instance for the test IssueServiceTest.testUpdateIssues_Normal
in services/test/issue_svc_test.py
:
../../test.py test appengine/monorail:services.test.issue_svc_test.IssueServiceTest.testUpdateIssues_Normal --no-coverage
dev_appserver
cannot find the MySQLdb library. Try installing it via sudo apt-get install python-mysqldb.Monorail supports all browsers defined in the Chrome Ops guidelines.
File a browser compatability bug here.