{"id":21803569,"url":"https://github.com/terrestris/shogun-legacy","last_synced_at":"2025-04-13T19:14:05.820Z","repository":{"id":3562432,"uuid":"4624055","full_name":"terrestris/shogun-legacy","owner":"terrestris","description":"⛔️ DEPRECATED, please use https://github.com/terrestris/shogun-core","archived":false,"fork":false,"pushed_at":"2022-12-16T10:04:16.000Z","size":835,"stargazers_count":16,"open_issues_count":17,"forks_count":16,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-05T17:16:07.685Z","etag":null,"topics":["deprecated","java","shogun","webgis-framework"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrestris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-11T11:21:50.000Z","updated_at":"2022-01-04T17:12:32.000Z","dependencies_parsed_at":"2023-01-13T12:37:02.528Z","dependency_job_id":null,"html_url":"https://github.com/terrestris/shogun-legacy","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fshogun-legacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fshogun-legacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fshogun-legacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fshogun-legacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrestris","download_url":"https://codeload.github.com/terrestris/shogun-legacy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766751,"owners_count":21158301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deprecated","java","shogun","webgis-framework"],"created_at":"2024-11-27T11:45:24.156Z","updated_at":"2025-04-13T19:14:05.797Z","avatar_url":"https://github.com/terrestris.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SHOGun\n\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n[![Build Status](https://travis-ci.org/terrestris/shogun.png)](https://travis-ci.org/terrestris/shogun)\n\n**Note:** This project is deprecated and not maintained anymore. Please make use of [shogun-core](https://github.com/terrestris/shogun-core) instead.\n\nSHOGun, a Java based WebGIS framework.\n\nSHOGun is based on several high-quality Open Source frameworks, such as\n\n  - Spring http://www.springsource.org/\n  - Hibernate http://hibernate.org\n  - OpenLayers http://openlayers.org\n  - GeoExt http://geoext.org\n\n## First steps\n\nThese first steps will get you up and running on a linux system. The notes described here were gathered and tested on an Ubuntu 12.04.\n\n### Prerequesites\n\nSHOGun is based upon [Maven](http://maven.apache.org/), so make sure it is installed on your system:\n\n    $ (sudo) apt-get install maven2\n\nWe also need a servlet container to deploy SHOGun in; Let's use [Tomcat](http://tomcat.apache.org/) for this:\n\n    $ (sudo) apt-get install tomcat7\n\n### Database\n\nCurrently SHOGun also needs a database to work with. The easiest setup is to use a file-based H2-database. You only need to configure\nthe path to store the database contents in the file `src/main/webapp/WEB-INF/spring/db-config.xml` in a clone of the SHOGun repository:\n\n    \u003cproperty name=\"url\" value=\"jdbc:h2:file:/absolute/path/to/db-file\" /\u003e\n\nThe file will be created for you on initialisation.\n\nIf instead you want to go with  [PostgreSQL](http://postgresql.org/), here is some advice:\n\n    $ (sudo) apt-get install postgresql\n\nAlso create a postgresql user and a database only for shogun. Execute the following SQLs inside of `psql`:\n\n    CREATE USER shogun SUPERUSER PASSWORD 'shogun';\n    CREATE DATABASE shogun OWNER shogun;\n\nPlease make sure that the user `shogun` can log in. See the PostgreSQL documentation for ways to achieve this.\n\nNext, in a clone of the SHOGun repository, configure SHOGun to use the database we just created. Open the file `src/main/webapp/WEB-INF/spring/db-config.xml`\nand find the `\u003cbean id=\"dataSource\" class=\"org.springframework.jdbc.datasource.DriverManagerDataSource\"\u003e`-tag. Change it to look like this:\n\n    \u003c!-- database connection via JDBC driver --\u003e\n    \u003cbean id=\"dataSource\" class=\"org.springframework.jdbc.datasource.DriverManagerDataSource\"\u003e\n        \u003cproperty name=\"driverClassName\"\u003e\u003cvalue\u003eorg.postgresql.Driver\u003c/value\u003e\u003c/property\u003e\n        \u003cproperty name=\"url\"\u003e\u003cvalue\u003ejdbc:postgresql://localhost/shogun\u003c/value\u003e\u003c/property\u003e\n        \u003cproperty name=\"username\"\u003e\u003cvalue\u003eshogun\u003c/value\u003e\u003c/property\u003e\n        \u003cproperty name=\"password\"\u003e\u003cvalue\u003eshogun\u003c/value\u003e\u003c/property\u003e\n    \u003c/bean\u003e\n\nIn any case, make sure the `hibernate.dialect` is configured accordingly (also in the file `db-config.xml`).\n\n### Packaging SHOGun\n\nNow, let's run the maven `package`-phase. In the root of you clone (where the file `pom.xml` is located) issue:\n\n    mvn package\n\nThis will download the dependencies of SHOGun and will eventually create a `war`-file that we can deploy on our tomcat. So, when you see the lines \n\n    [INFO] ------------------------------------------------------------------------\n    [INFO] BUILD SUCCESSFUL\n    [INFO] ------------------------------------------------------------------------\n    [INFO] Total time: 4 seconds\n    [INFO] Finished at: Mon Oct 01 10:32:22 CEST 2012\n    [INFO] Final Memory: 17M/42M\n    [INFO] ------------------------------------------------------------------------ \n\non your terminal, you are ready to copy the created `war`-file to tomcats `webapp`-folder:\n\n    $ (sudo) cp target/SHOGun.war /var/lib/tomcat7/webapps/ \n\n### Checking visually\n\nNow you can visit http://localhost:8080/SHOGun/ with you favorite web browser an you should be greeted with very basic login page. \nTry to log in as user `terrestris` with the password `xxxx`. On the top of the page you should now see a notice, that you are logged\nin with the role 'ROLE_SUPERADMIN'.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrestris%2Fshogun-legacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrestris%2Fshogun-legacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrestris%2Fshogun-legacy/lists"}