Buildbotics website
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
scripts
src
.gitignore
CODE_TAG
INSTALL.md
LICENSE
README.md
SConstruct

README.md

Buildbotics

Buildbotics.com website

Prerequisites

In Debian Linux, after installing C!, you can install the prerequsites as follows:

First add the file /etc/apt/sources.list.d/mariadb.list with these contents:

deb http://mirrors.syringanetworks.net/mariadb/repo/10.0/debian sid main
deb-src http://mirrors.syringanetworks.net/mariadb/repo/10.0/debian sid main

Install the MariaDB repo keys:

gpg --keyserver pgp.mit.edu --recv-keys CBCB082A1BB943DB
gpg -a --export CBCB082A1BB943DB | sudo apt-key add -

Then install the packages like this:

sudo apt-get update
sudo apt-get install libre2-dev libmariadbclient-dev mariadb-server-10.0 \
  python-mysql.connector ssl-cert

Build

export CBANG_HOME=/path/to/cbang
scons

Create the DB and user

mysql -u root -p
CREATE DATABASE buildbotics;
CREATE USER 'buildbotics'@'localhost' IDENTIFIED BY '<password>';
GRANT EXECUTE ON buildbotics.* TO 'buildbotics'@'localhost';
exit
./src/sql/update_db.py