These are our requirements (in particular we highlight those that are not usually installed by default) - previous versions may or may not work:
On Ubuntu 12.04, one will need to run the following script to satisfy all dependencies:
sudo apt-get install build-essential fpc postgresql postgresql-client \
gettext python2.7 python-setuptools python-tornado python-psycopg2 \
python-simplejson python-sqlalchemy python-psutil python-netifaces \
python-crypto python-tz iso-codes shared-mime-info stl-manual \
python-beautifulsoup python-mechanize python-coverage
# Optional.
# sudo apt-get install phppgadmin python-yaml python-sphinx
On Arch Linux, the following command will install almost all dependencies (two of them can be found in the AUR):
sudo pacman -S base-devel fpc postgresql postgresql-client python2 \
setuptools python2-tornado python2-psycopg2 python2-simplejson \
python2-sqlalchemy python2-psutil python2-netifaces python2-crypto \
python2-pytz iso-codes shared-mime-info python2-beautifulsoup3 \
python2-mechanize
# Install the following from AUR.
# https://aur.archlinux.org/packages/sgi-stl-doc/
# https://aur.archlinux.org/packages/python2-coverage/
# Optional.
# sudo pacman -S phppgadmin python2-yaml python-sphinx
If you prefer using Python Package Index, you can retrieve all Python dependencies with this line:
sudo pip install -r REQUIREMENTS.txt
You can download CMS 1.0.1 from GitHub and extract it on your filesystem. After that, you can install it (recommended, not necessary though):
./setup.py build
sudo ./setup.py install
If you install CMS, you also need to add your user to the cmsuser group and logout to make the change effective:
sudo usermod -a -G cmsuser
You can verify to be in the group by issuing the command:
groups
If you were using CMS before the release of version 1.0.1, you can update the content of your database with:
cd cms/db
python UpdateDB.py -l # To see which updating scripts are available.
python UpdateDB.py -s YYYYMMDD # To update the DB, where YYYYMMDD is
# the last date in which you created or
# updated the DB.