Markus Neteler 0e0d05ea53 Dockerfile: only create versionless link when needed | 3 år sedan | |
---|---|---|
.github | 3 år sedan | |
.travis | 3 år sedan | |
db | 3 år sedan | |
demolocation | 3 år sedan | |
display | 3 år sedan | |
doc | 3 år sedan | |
docker | 3 år sedan | |
general | 3 år sedan | |
gui | 3 år sedan | |
imagery | 3 år sedan | |
include | 3 år sedan | |
lib | 3 år sedan | |
locale | 3 år sedan | |
macosx | 4 år sedan | |
man | 3 år sedan | |
misc | 4 år sedan | |
mswindows | 3 år sedan | |
ps | 4 år sedan | |
python | 3 år sedan | |
raster | 3 år sedan | |
raster3d | 3 år sedan | |
rpm | 3 år sedan | |
scripts | 3 år sedan | |
singularity | 4 år sedan | |
temporal | 3 år sedan | |
testsuite | 3 år sedan | |
utils | 3 år sedan | |
vector | 3 år sedan | |
visualization | 5 år sedan | |
.dockerignore | 3 år sedan | |
.flake8 | 3 år sedan | |
.gitignore | 3 år sedan | |
.gunittest.cfg | 3 år sedan | |
.travis.yml | 3 år sedan | |
AUTHORS | 4 år sedan | |
CHANGES | 3 år sedan | |
CITING | 3 år sedan | |
CONTRIBUTING.md | 3 år sedan | |
COPYING | 4 år sedan | |
Dockerfile | 3 år sedan | |
GPL.TXT | 16 år sedan | |
INSTALL | 3 år sedan | |
Makefile | 3 år sedan | |
NEWS | 3 år sedan | |
README.md | 3 år sedan | |
REQUIREMENTS.html | 3 år sedan | |
SUBMITTING | 5 år sedan | |
TODO | 3 år sedan | |
Vagrantfile | 3 år sedan | |
aclocal.m4 | 4 år sedan | |
binaryInstall.src | 5 år sedan | |
config.guess | 3 år sedan | |
config.sub | 3 år sedan | |
configure | 3 år sedan | |
configure.in | 3 år sedan | |
contributors.csv | 3 år sedan | |
contributors_extra.csv | 7 år sedan | |
grass.pc.in | 10 år sedan | |
grasslib.dox | 3 år sedan | |
install-sh | 11 år sedan | |
pyproject.toml | 3 år sedan | |
translators.csv | 3 år sedan |
GRASS GIS (https://grass.osgeo.org/) is a Geographic Information System used for geospatial data management and analysis, image processing, graphics/map production, spatial modeling, and visualization.
In general: you don't really need write access as you can simply open a pull request to contribute to GRASS GIS. See CONTRIBUTING file for more details.
Want to become a core developer? See Procedure for gaining Git write access
See INSTALL file.
Yes, you should really read INSTALL. In addition, there are detailed compile instructions in the Wiki.
Build a docker image using the downloaded source code (run this in the directory containing the source code):
docker build -t grassgis80 .
A test run (assuming you have the existing GRASS GIS test location; it can be downloaded from here)
# case 1: launching in the grassdata directory in which the location is stored:
docker run -it --rm --user=$(id -u):$(id -g) --volume $(pwd):/data \
--env HOME=/data/ grassgis80 grass --text nc_basic_spm_grass7/user1 \
--exec g.region -p
# case 2: launching anywhere
docker run -it --rm --user=$(id -u):$(id -g) \
--volume /your/test/grassdata/:/data --env HOME=/data/ grassgis80 \
grass /data/nc_basic_spm_grass7/PERMANENT --exec g.region -p
Note that the first grassgis80
is the name of the image while the second
grass
is the name of the executable.
To run the tests (again assuming local location):
docker run -it --rm --user=$(id -u):$(id -g) \
--volume /your/test/grassdata/:/data --env HOME=/data/ -w /code/grass \
grassgis80 grass /data/nc_basic_spm_grass7/PERMANENT --exec \
python -m grass.gunittest.main \
--location nc_basic_spm_grass7 --location-type nc
Note: If you compiled locally before building the Docker image, you may encounter problems as the local configuration and locally compiled file are copied to and used in the Docker image. To make sure you don't have this issue, clean all the compiled files from the source code:
make distclean
You can generate locally the GRASS GIS Programmer's Manual.
This needs doxygen (http://www.doxygen.org) and optionally Graphviz dot (http://www.research.att.com/sw/tools/graphviz/).
To build the GRASS programmer's documentation, run
make htmldocs
or to generate documentation as single html file (recommended for simple reading)
make htmldocs-single
here. This takes quite some time. The result is in lib/html/index.html
which refers to further document repositories in
lib/vector/html/index.html
lib/db/html/index.html
lib/gis/html/index.html
The master file is: ./grasslib.dox
where all sub-documents have to
be linked into.
To generate the documents in PDF format, run
make pdfdocs