Skip to content
Snippets Groups Projects
Commit 25eede0d authored by Fabio Hernandez's avatar Fabio Hernandez
Browse files

Add setup.sh

parent 1bdba263
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ chmod g+rx,o+rx *.sh
tar -cf ${tempFile} \
./README.md \
./run-arc.sh \
./setup.sh \
./nordugrid-arc6-client.sif \
./examples
tar --dir ${deployDir} -xf ${tempFile}
......@@ -99,4 +100,10 @@ declare -a arcCommands=(
cd ${deployDir}
for cmd in "${arcCommands[@]}"; do
ln -sf run-arc.sh ${cmd}
done
\ No newline at end of file
done
#
# Modify setup.sh to adapt it to the deployment directory
#
deployDir=$(readlink -f ${deployDir})
sed --in-place -e "s|XXX_DEPLOY_DIR_XXX|${deployDir}|g" ${deployDir}/setup.sh
\ No newline at end of file
......@@ -8,6 +8,14 @@ For the purposes of these examples, we assume that the URL of the ARC6 endpoint
$ export ARC_CE='https://ccarccelsst01.in2p3.fr:9443/arex'
```
For your convenience, you may want to do
```bash
source setup.sh
```
to setup your working session with the right values of `PATH` and `ARC_CE`.
## Acquire a VOMS proxy
To interact with the ARC computing element you must be authenticated as a member of a virtual organization (VO). To acquire a proxy as a member of the LSST VO use the command:
......
#!/bin/bash
# Usage: source setup.sh
export ARC_CE='https://ccarccelsst01.in2p3.fr:9443/arex'
export PATH="XXX_DEPLOY_DIR_XXX:${PATH}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment