Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gts2
gts2_client
Commits
7408a0a2
Commit
7408a0a2
authored
Feb 16, 2018
by
Hannes Diedrich
Browse files
Finalysed branch, ready to merge.
parent
33dfe9b8
Pipeline
#2600
canceled with stages
in 4 minutes and 48 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
7408a0a2
...
...
@@ -8,7 +8,7 @@ Status
[
Coverage report
](
http://gts2.gitext.gfz-potsdam.de/gts2_client/coverage/
)
## Release notes
*
**2018-0
1
-1
9
:**
Added installation information and
conda
installation
file for
all needed packages
*
**2018-0
2
-1
6
:**
Added installation information and installation
script for miniconda and
all needed packages
*
**2018-01-18:**
Added docker file and script for building an compatible image and running a container for the client
*
**2018-01-17:**
Added option for mosaicing/merging tifs and RGBs on client side
*
**2018-01-10:**
Added output of RGB images into jpg or png, nc-output still in progress
...
...
@@ -49,12 +49,9 @@ Everything is based on bash shell.
#### EITHER: Use install script and follow instructions:
Run:
`bash install_py_gts2_client.sh`
After providing the installation path the script will install miniconda
and all necessary packages as well as the gts2_client.
Everything is installed into a conda environment called
*gts2_client*
.
At the script will provide instructions how to start the environment
and which PATHs to add to your .bashrc.
At the script will provide instructions which PATHs to add to your .bashrc.
#### OR: Per hand (expert modus):
*
Download and install at least Miniconda with default settings:
...
...
gts2_client_conda_install.yml
View file @
7408a0a2
name
:
gts2_clien
t
name
:
roo
t
channels
:
-
conda-forge
dependencies
:
...
...
install_py_gts2_client.sh
View file @
7408a0a2
#!/usr/bin/env bash
echo
"###################################"
echo
"This is the installation routine for installing
ana
conda and necessary packages for gts2_client."
echo
"Depending on t
e
h load of your machine, this process can take up to an hour, so lean back and relax!"
echo
"All
F
iles are stored into your installation path which you provide
now
."
echo
"This is the installation routine for installing
Mini
conda and
all
necessary packages for gts2_client."
echo
"Depending on th
e
load of your machine, this process can take up to an hour, so lean back and relax!"
echo
"All
f
iles are stored into your installation path which you
will
provide
in the following
."
echo
"Please make sure that you have sufficient free space in ths installation path (at least 3 GB)."
echo
"###################################"
current_path
=
$(
pwd
)
...
...
@@ -26,27 +26,25 @@ env_name=gts2_client
echo
"Creating a conda environment named:
${
env_name
}
..."
export
PATH
=
${
inst_path
}
/
${
conda_vers
}
/bin/:
$PATH
export
PYTHONPATH
=
${
inst_path
}
/
${
conda_vers
}
/lib/python3.6/site-packages/
conda create
-y
-n
${
env_name
}
python
=
3
echo
"... Ready"
echo
"Installing necessary packages ..."
conda
env
update
-n
${
env_name
}
-f
${
current_path
}
/gts2_client_conda_install.yml
conda
env
update
-f
${
current_path
}
/gts2_client_conda_install.yml
echo
"... Ready"
echo
"Installing gts2_client ..."
cd
${
current_path
}
source
activate
${
env_name
}
python setup.py
install
echo
"... Ready"
echo
"###############################"
echo
"Congratulations!
Ana
conda and all necessary packages are installed"
echo
"Congratulations!
Mini
conda and all necessary packages are installed"
echo
" "
echo
"###############################"
echo
"In order to load your environment and run gts2_client, run the following commands in your bash shell:"
echo
"###############################"
echo
"### 1. ###"
echo
"Set the path
env-variable
s right (you can also add the following lines to your
$HOME
/.bashrc :"
echo
"Set the paths right (you can also add the following lines to your
$HOME
/.bashrc
[recommended])
:"
echo
"--------"
echo
"export PATH=
${
inst_path
}
/
${
conda_vers
}
/bin/:
$PATH
"
echo
"export PYTHONPATH=
${
inst_path
}
/
${
conda_vers
}
/lib/python3.6/site-packages/:
$PYTHONPATH
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment