Installing the basic Astro-WISE Environment¶
Checkout
awe
from CVS. The password required to log in can be obtained on request:> cvs -d :pserver:anoncvs@cvs.astro-wise.org:/cvsroot login > cvs -d :pserver:anoncvs@cvs.astro-wise.org:/cvsroot checkout -r AWBASE awe
Follow the instructions given in
awe/INSTALL
.Compile the Python code. This is done automatically by step 4 below. It can be done directly by calling the following scripts:
/path/to/awe /path/to/AWBASE/common/toolbox/compile_pipeline.py /path/to/awe /path/to/current/common/toolbox/compile_pipeline.py
Let the Python code be updated automatically from CVS.
This can be done by using crontab. Example:
Add two crontab jobs to do automatic updates from CVS for the “AWBASE” and “current” checkouts.
A list of current crontab jobs can be obtained with this Linux command:
> crontab -l
Edit the contents of the crontab configuration file and install with:
> crontab -e
Add the following lines which update the checkouts every 10 minutes (adapt as necessary):
5,15,25,35,45,55 * * * * /path/to/awe /path/to/AWBASE/common/toolbox/update_pipeline.py AWBASE 5,15,25,35,45,55 * * * * /path/to/awe /path/to/current/common/toolbox/update_pipeline.py current
The crontab file can be uninstalled by using:
> crontab -r