sudo apt-get install python-dev git-core python-virtualenv g++ make nginx gunicorn mariadb-server
git clone https://github.com/mozilla-services/syncserver
cd syncserver
make build
sudo mysql -uroot -p
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE IF NOT EXISTS syncserver;
GRANT ALL PRIVILEGES ON syncserver.* TO 'username'@'localhost' IDENTIFIED BY 'password';