Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Development

Daniel Hall edited this page Sep 13, 2013 · 15 revisions

Setting Up

Clone the repository

git clone git@github.com:tildaslash/RatticWeb.git

Change into the source dir

cd RatticWeb

Make sure you have development libraries installed

sudo yum install mysql-devel openldap-devel

Create a virtualenv for Rattic

virtualenv ~/venv/RatticWeb

Activate the virtualenv

source ~/venv/RatticWeb/bin/activate

Install dependencies with pip

pip install -r requirements.txt

Confirm that your environment is working as expected

./runtests.sh

Create the database files

./manage.py runserver

Run DB migrations

./manage.py migrate

Start the server

./manage.py runserver

Browse to http://127.0.0.1:8000/

Help files

Clone the help files

cd ..
git clone git@github.com:tildaslash/RatticWeb.wiki.git

Configure RatticWeb Help

cat > conf/local.cfg <<EOF
[filepaths]
help = ../RatticWeb.wiki
EOF
Clone this wiki locally