### To generate a wiki, find and replace these 6 lines, then delete this section
BEAMLINE_NAME = 12-ID-D
INSTALL_DIR = /home/dm_idd
STATION_NAME = 12IDD
DEPLOYMENT_MACHINE = s12idddm.xray.aps.anl.gov
STORAGE_MACHINE = xraydtn02.xray.aps.anl.gov
BEAMLINE_ACCOUNT = user12idd
# BEAMLINE_NAME Deployment
## Quick Start Guide
In this section we illustrate typical system usage via the DM Station GUI (see the [Getting Started](DM/HowTos/Getting-Started) guide for more details). Note that INSTALL_DIR directory should be accessible on all BEAMLINE_NAME machines.
1. Setup environment by sourcing setup file.
`$ # After sourcing setup file, all DM commands will be in your path`
`$ # For users using C shell`
`$ source INSTALL_DIR/etc/dm.setup.csh`
`$ # For users using bash shell`
`$ source INSTALL_DIR/etc/dm.setup.sh`
2. Run the "dm-station-gui" command. This will allow you to create an experiment, upload data to the central storage system, see experiment files, etc.
`$ dm-station-gui`
3. Access files using Globus Online (see the [Getting Data From Globus](DM/HowTos/Getting-Data-From-Globus) guide for more details). Note that experiment files can be read only by those DM usernames that have been assigned a role within a given experiment.
a. Using your browser, open https://www.globus.org/
b. Sign in with your Globus username
c. Under File Manager, chose "aps#data" as Collection and click "Continue" in order to authenticate.
d. Authenticate with your DM username (typically "d<badgenumber>"). Use the same password (APS Web Password) that you use to access APS Beamline User Portal.
e. Navigate to experiment folder. All experiments will be under the "/gdata/dm/STATION_NAME" directory (e.g. "/gdata/dm/STATION_NAME/test-STATION_NAME-01)".
f. At this point you should be able to transfer files to any Globus endpoint that you have access to. Note that downloading files to your desktop or laptop requires installing [Globus Connect Personal](https://www.globus.org/globus-connect-personal) endpoint.
## Command Lines
In this section we list few most important DM commands that can be used from a terminal session or in scripts.
1. Create an experiment and upload data to the central storage system:
```
$ # Experiment name must be unique and start with a letter.
$ # Users can be added to experiment by specifying Beamline Scheduling System proposal id (--proposal-id option),
5. Retrieve list of your cataloged file metadata, etc. Alternative way of viewing metadata catalog is via Mongo Express application ([https://DEPLOYMENT_MACHINE:8182/db/dm](https://DEPLOYMENT_MACHINE:8182/db/dm)).
The DM Python API documentation is located in the INSTALL_DIR/production/doc/html folder, while some simple examples can be found under the INSTALL_DIR/production/examples directory.
1. After sourcing the DM setup file, DM Python will be in user's path and DM Python APIs will be in user's PYTHONPATH environment variable.
```
$ # This command brings up the DM API documentation