Configure leginoncfg Shared » History » Version 1
Anchi Cheng, 05/20/2010 10:46 PM
1 | 1 | Anchi Cheng | h1. Configure leginon.cfg |
---|---|---|---|
2 | |||
3 | A skeleton (default) configuration file is available: |
||
4 | <pre> |
||
5 | $PYTHONSITEPKG/leginon/config/default.cfg |
||
6 | </pre> |
||
7 | where $PYTHONSITEPKG is your python site-packages directory |
||
8 | |||
9 | |||
10 | Copy default.cfg to leginon.cfg. |
||
11 | <pre> |
||
12 | sudo cp -v $PYTHONSITEPKG/leginon/config/default.cfg $PYTHONSITEPKG/leginon/config/leginon.cfg |
||
13 | </pre> |
||
14 | |||
15 | Edit the newly created file and add a directory for images. Make sure you have permission to save files at this location. |
||
16 | <pre> |
||
17 | [Images] |
||
18 | path: your_storage_disk_path/leginon |
||
19 | </pre> |