madrona.installer - Installer AppΒΆ

This app contains several scripts (and eventually a full web-based bootstrapping system) all aimed at automating some common tasks and getting users started quickly.

Install Madrona and requirements into a virtualenv:

cd /usr/local/sites
mkdir newsite && cd newsite
virtualenv env
source env/bin/activate
pip install madrona

Create a db:

sudo su postgres
createuser dbuser -s -P
createdb -U dbuser -h localhost -W newsite
# For postgres 9.1 and postgis 2.0 (for older versions, see the postgis docs)
psql -d newsite -h localhost -U dbuser -c "CREATE EXTENSION postgis;"

Start your madrona-based project: -p myproject -a myapp -d \
-c "host='localhost' user='dbuser' password='secret' dbname='newsite'"

cd myproject

python runserver

Previous topic

madrona.analysistools - Analysis and Model-based Features

Next topic

madrona.group_management - Manage group membership

This Page