README 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. GRASS GIS Development Subversion repository
  2. ##########################################################
  3. How to get write access here?
  4. Write access is only granted to developers who agree to abide by
  5. RFC2 - Legal aspects of code contributions
  6. http://trac.osgeo.org/grass/wiki/RFC/2_LegalAspectsOfCodeContributions
  7. and the code submission guidelines
  8. http://trac.osgeo.org/grass/wiki/Submitting
  9. This needs to be communicated to a GRASS developer. S/he will
  10. then possibly propose you to the GRASS Project Steering committee
  11. after a period of evaluation. For details, see
  12. http://trac.osgeo.org/grass/wiki/RFC
  13. Once write access is granted, you, the new developer need to
  14. obtain an "osgeo_id" at http://www.osgeo.org/osgeo_userid
  15. If you already have an "osgeo_id" but forgot it, search for it at
  16. Search at http://www.osgeo.org/cgi-bin/ldap_web_search.py
  17. ##########################################################
  18. How to compile GRASS:
  19. See INSTALL file.
  20. Yes, you should really read INSTALL.
  21. ##########################################################################
  22. How to generate the 'Programmer's Manual':
  23. This needs doxygen (http://www.doxygen.org) and optionally
  24. Graphviz dot (http://www.research.att.com/sw/tools/graphviz/).
  25. To build the GRASS programmer's documentation, run
  26. make htmldocs
  27. or to generate documentation as single html file (recommended for simple reading)
  28. make htmldocs-single
  29. here. This takes quite some time. The result is in lib/html/index.html
  30. which refers to further document repositories in
  31. lib/vector/html/index.html
  32. lib/db/html/index.html
  33. lib/gis/html/index.html
  34. The master file is: ./grasslib.dox where all sub-documents have to
  35. be linked into.
  36. To generate the documents in PDF format, run
  37. make pdfdocs
  38. An online version is available at:
  39. http://grass.osgeo.org/programming7/
  40. ## Docker
  41. Build using the downloaded source code (in the directory with the
  42. source code):
  43. docker build -t grass .
  44. A test run (assuming you have existing GRASS GIS location)
  45. docker run --rm -v /your/local/grassdata/:/data -it grass \
  46. grass /data/nc_basic_spm/PERMANENT --exec g.region -p
  47. Note that the first `grass` is a name of the image while the second
  48. `grass` is the name of the executable.
  49. To run the tests (again assuming local location):
  50. docker run --rm -v /your/test/grassdata/:/data -w /code/grass \
  51. -it grass grass /data/nc_basic_spm/PERMANENT --exec \
  52. python -m grass.gunittest.main \
  53. --location nc_basic_spm --location-type nc