{"id":20245807,"url":"https://github.com/pranosa/sampleopenlayer","last_synced_at":"2026-06-04T02:31:26.306Z","repository":{"id":247854714,"uuid":"825644238","full_name":"PranoSA/sampleopenlayer","owner":"PranoSA","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-17T23:56:12.000Z","size":6776,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T02:09:19.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PranoSA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-08T08:26:05.000Z","updated_at":"2024-07-17T23:56:14.000Z","dependencies_parsed_at":"2024-11-14T09:29:58.708Z","dependency_job_id":"bdb26994-597b-498f-b36f-405b2a2927bf","html_url":"https://github.com/PranoSA/sampleopenlayer","commit_stats":null,"previous_names":["pranosa/sampleopenlayer"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PranoSA%2Fsampleopenlayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PranoSA%2Fsampleopenlayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PranoSA%2Fsampleopenlayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PranoSA%2Fsampleopenlayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PranoSA","download_url":"https://codeload.github.com/PranoSA/sampleopenlayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241692007,"owners_count":20004138,"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":[],"created_at":"2024-11-14T09:24:05.237Z","updated_at":"2025-12-01T07:05:12.286Z","avatar_url":"https://github.com/PranoSA.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Structure\n\n## geoserver_config\n\ngeoserver_config has scripts export_config.sh, which downloads the necessary layer and datastore configuration from the running\ngeoserver (can also be used if you want to adjust these layers), and stores them in geoserver_configs folder\n\ndownload_data.sh downloads the shapefiles necessary for the datastores and layers, and stores them in the data directory for geoserver.\n\nimport_config.sh takes the XML configuration in geoserver_config and reuploads them to a running geoserver instance at localhost:8080.\n\n## dist\n\ndist is the static outputs from webpack, I included this so webpack and a proper npm version isn't necessary\n\n## server\n\nserver code to proxy requests to geoserver (get around CORS) starting with /api and serving the static files from /dist.\n\n## src\n\nsource code to build the static web assets files using webpack.\n\n# Docker Setup\n\nThis project is 2 different processes designed to run locally.\n\nYou will need docker installed, and open ports 3000 and 8080.\n\n### docker run -p 8080:8080 pcadler/geoserver-deploy:master\n\n### docker run --network=host pcadler/transmission-express:master\n\nnow visit\n\nhttp://localhost:3000\n\n# Linux Setup\n\n### Have Java 11 or 17 installed\n\n### Have npm installed, and run\n### npm install\n\n### Geoserver\nInstall Geoserver ( The Platform Independent Binary, that uses Java) at default location /usr/share/geoserver, leave default data_dir as is (/usr/share/geoserver/data_dir).\n\nChange Directory into geoserver_configs,\n\n### cd geoserver_config\n\nand run\n### ./download_data.sh\n\nto download the necessary shapefiles ( The US States Map, Transmission Lines Map, and Power Plants Map)\n\nNow run\n\n### ./import_config.sh\n\nThis will build the datastores and the layers on top of them that the client will request from.\n\nChange Directory back to project root\ncd ..\n\nIn one terminal, run \n### /usr/bin/geoserver/bin/startup.sh\n\nIf you want to build the static assets, run\n\n### npx webpack --config webpack.config.js\n\nNow, start the process using\n\n### server/index.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranosa%2Fsampleopenlayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpranosa%2Fsampleopenlayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranosa%2Fsampleopenlayer/lists"}