WISE Persistency vDRAFT 0.1 documentation

How to add a database backendΒΆ

First make a checkout of the existing code inside an empty directory

mkdir mybackend
cd mybackend
cvs -d cvs.astro-wise.org:/cvsroot co astrotarget

Use a different empty directory to test the new backend implementation as follows

mkdir testbackend
cd testbackend
env AWEPIPE=<path_leading_to>/mybackend awe <testscript>

If needed, explicitly mention additional parameters from the command line

env database_engine=sqlite database_name=sl3thing AWEPIPE=$HOME/mybackend awe sqlite_test.py