An open API service indexing awesome lists of open source software.

https://github.com/hydroshare/tethysapp-hydroshare_gis

Combine and view Raster and Feature Resources from HydroShare or uploaded from your own computer
https://github.com/hydroshare/tethysapp-hydroshare_gis

Last synced: about 1 year ago
JSON representation

Combine and view Raster and Feature Resources from HydroShare or uploaded from your own computer

Awesome Lists containing this project

README

          

#HydroShare GIS
*tethysapp-hydroshare_gis*

**This app is created to run in the Teyths Platform programming environment.
See: https://github.com/tethysplatform/tethys and http://docs.tethysplatform.org/en/latest/**

##Prerequisites:
- Tethys Platform (CKAN, PostgresQL, GeoServer)
- hs_restclient-python (Python package)
- pyshp (Python package)

###Install Tathys Platform
See: http://docs.tethysplatform.org/en/latest/installation.html

###Install hs_restclient:
See: http://hs-restclient.readthedocs.org/en/latest/#installation

###Install pyshp into Tethys' Python environment:
```
$ sudo su
$ . /usr/lib/tethys/bin/activate
$ pip install pyshp
$ exit
```
##Installation:
Clone the app into the directory you want:
```
$ git clone https://github.com/shawncrawley/tethysapp-hydroshare_gis.git
$ cd tethysapp-hydroshare_gis
```

Then install the app into the Tethys Platform.

###Installation for App Development:
```
$ . /usr/lib/tethys/bin/activate
$ cd tethysapp-hydroshare_gis
$ python setup.py develop
```
###Installation for Production:
```
$ . /usr/lib/tethys/bin/activate
$ cd tethysapp-hydroshare_gis
$ python setup.py install
$ tethys manage collectstatic
```
Restart the Apache Server:
See: http://docs.tethysplatform.org/en/latest/production/installation.html#enable-site-and-restart-apache

##Updating the App:
Update the local repository and Tethys Platform instance.
```
$ . /usr/lib/tethys/bin/activate
$ cd tethysapp-hydroshare_gis
$ git pull
```
Restart the Apache Server:
See: http://docs.tethysplatform.org/en/latest/production/installation.html#enable-site-and-restart-apache

##Fin