Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Installation on Ubuntu

John Whitlock edited this page Feb 28, 2015 · 1 revision

Sample Installation

Here's the commands to install the project on a fresh copy of Ubuntu Server 14.04.2 LTS:

$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install libpq-dev lib32ncurses5-dev libmemcached-dev python-dev python-pip git
$ sudo pip install setuptools virtualenv virtualenvwrapper --upgrade
$ echo "export WORKON_HOME=~/.venvs" >> ~/.bash_aliases
$ echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bash_aliases
$ mkdir ~/.venvs
$ source ~/.bash_aliases
$ mkdir ~/src
$ cd ~/src
$ git clone https://github.com/mozilla/web-platform-compat.git
$ cd web-platform-compat
$ mkvirtualenv wpc
(wpc)$ pip install -r requirements.txt -r requirements.dev.txt
(wpc)$ make test
(wpc)$ ./manage.py runserver_plus
Clone this wiki locally