Public | Automated Build

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

Quick installation

#. Clone the repository::

git clone
cd flis.live_catalogue

#. Create & activate a virtual environment::

virtualenv sandbox
echo '*' > sandbox/.gitignore
source sandbox/bin/activate

#. Install prerequisites if missing::

python2.7 or higher
apt-get install python-setuptools python-dev

For PostgreSQL database:
apt-get install postgresql-9.1 postgresql-contrib-9.1 postgresql-server-dev-9.1

#. Install dependencies::

pip install -r requirements-dev.txt

#. Create ::

touch live_catalogue/
# Check local.settings.example for configuration details

#. Set up the Postgresql database::

    root # su - postgres;
    postgres $ psql template1
    template1=# CREATE DATABASE live_catalogue WITH ENCODING 'UTF-8';
    template1=# CREATE USER edw WITH PASSWORD 'edw';
    template1=# GRANT ALL PRIVILEGES ON DATABASE live_catalogue TO edw;

#. Create tables::

./ createcachetable
./ migrate

#. Install fixtures::

./ loaddata live_catalogue/fixtures/*
./ load_metadata_fixtures
./ sync_remote_models

#. Run tests::

./ test

Create a migration after changes in


./ makemigrations live_catalogue
./ migrate

Stuff to run when deploying ::

./ migrate
./ collectstatic --noinput
Docker Pull Command
Source Repository

Comments (0)