How to test upload images with your own sandbox » History » Version 1
Amber Herold, 10/01/2010 03:05 PM
1 | 1 | Amber Herold | h1. How to test upload images with your own sandbox |
---|---|---|---|
2 | |||
3 | |||
4 | Just had to do this so taking some notes: |
||
5 | |||
6 | h2. the objective |
||
7 | |||
8 | I have images that I want to upload loacted in my home directory. |
||
9 | I want to use my sandbox on the web side of appion. |
||
10 | I want to use the wrapper/appion snapshot/beta appion for the python parts. However you want to call it, I just need a recent version. |
||
11 | I want to upload the images to my own private database that is located on the fly server. |
||
12 | When the images are uploaded, I want them stored in my home directory rather than on /ami/data00. |
||
13 | |||
14 | |||
15 | h2. setup |
||
16 | |||
17 | h3. sinedon.cfg in home directory |
||
18 | |||
19 | Make sure sinedon.cfg is in your home directory and the host, user and password correspond to your database. |
||
20 | Make sure the projectdata and leginondata settings are set to the name of your db. |
||
21 | |||
22 | h3. leginon.cfg in home directory |
||
23 | |||
24 | Make sure leginon.cfg is in your home directory and the images path is set to a folder in your home directory. |
||
25 | |||
26 | h2. create the command |
||
27 | |||
28 | * open myamiweb |
||
29 | Go to fly/~your_username/myamiweb which has been set up per the following instructions... |
||
30 | |||
31 | * Go to or create a project for your images to be uploaded into. |
||
32 | * make sure there is a database set for the project (ex. ap123) |
||
33 | * click on [upload images to new session] |
||
34 | * Under the _directory containing images_ field copy the path to the images on your home directory ex. /home/your_username/dir1/dir2 |
||
35 | * Select _just show command_ |
||
36 | |||
37 | h2. execute the command |