{"id":49477392,"url":"https://github.com/core-stack-org/core-stack-backend","last_synced_at":"2026-04-30T20:35:41.531Z","repository":{"id":279384306,"uuid":"938541396","full_name":"core-stack-org/core-stack-backend","owner":"core-stack-org","description":"CoRE Stack Backend written in Django which computes layers, CRUD operations, build resources and demands.","archived":false,"fork":false,"pushed_at":"2026-04-30T19:45:08.000Z","size":20101,"stargazers_count":12,"open_issues_count":39,"forks_count":19,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-30T20:35:36.163Z","etag":null,"topics":["django","django-rest-framework","geoserver","geospatial-data","googleearthengine","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/core-stack-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-25T05:46:07.000Z","updated_at":"2026-04-30T17:04:51.000Z","dependencies_parsed_at":"2025-08-07T15:16:42.733Z","dependency_job_id":"09b9e545-6a9d-4cc4-b80b-2ad094cd4bc2","html_url":"https://github.com/core-stack-org/core-stack-backend","commit_stats":null,"previous_names":["core-stack-org/core-stack-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/core-stack-org/core-stack-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-stack-org%2Fcore-stack-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-stack-org%2Fcore-stack-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-stack-org%2Fcore-stack-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-stack-org%2Fcore-stack-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/core-stack-org","download_url":"https://codeload.github.com/core-stack-org/core-stack-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/core-stack-org%2Fcore-stack-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32476682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["django","django-rest-framework","geoserver","geospatial-data","googleearthengine","python3"],"created_at":"2026-04-30T20:35:40.709Z","updated_at":"2026-04-30T20:35:41.524Z","avatar_url":"https://github.com/core-stack-org.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CoRE Stack Backend\r\n\r\n### Installation\r\n\r\nWe provide a single installation script that handles everything (**on a linux environment, if you are using Windows, you may need to install ```wsl``` first**).\r\n- Installs **Miniconda** and sets up the Python environment\r\n- Installs \u0026 configures **PostgreSQL**\r\n- Installs \u0026 configures **Apache with mod_wsgi**\r\n- Clones the backend repo and applies Django **migrations**\r\n- Collects **static files**\r\n- Sets up **logs** and **Apache config**\r\n\r\n#### Requirements\r\n\r\nBefore starting, make sure you have the following installed on your system:\r\n\r\n- A **Linux-based operating system** (Ubuntu 20.04+ recommended)\r\n- **Git** (to clone the repository)\r\n- **Bash** (usually preinstalled on Linux)\r\n\r\nThe installation script will handle the rest (Conda, PostgreSQL, Apache, etc.).\r\n\r\n#### 1. Clone the repository\r\n\r\n```bash\r\ngit clone https://github.com/core-stack-org/core-stack-backend.git\r\ncd core-stack-backend/installation\r\n```\r\n\r\n#### 2. Run the installation script\r\n\r\n```bash\r\nchmod +x install.sh\r\n./install.sh\r\n```\r\n\r\n\u003e The script will automatically install Conda, PostgreSQL, Apache, set up the `corestack-backend` environment, run\r\n\u003e migrations, and configure Apache.\r\n\r\n\u003e For any installation issues, check [Installation Documentation](./installation/INSTALLATION.md) and [Troubleshooting Guide](./installation/TROUBLESHOOTING.md).\r\n\r\n#### 3. Running the server\r\nAfter the successfull installation of all the packages, run the following commands to start the Django server:\r\n```bash\r\nconda activate corestack-backend (or whatever is the name of your virtual environment)\r\npython manage.py runserver\r\n```\r\n- **Running celery:**\r\nIf you are running some tasks, you need to run \r\n```bash\r\ncelery -A nrm_app worker -l info -Q nrm\r\n```\r\nwhere 'nrm_app' is the app_name and 'nrm' is the rabbitmq queue.\r\n\r\n\r\n#### 4. Open in Browser\r\n\r\n- API Docs: [http://localhost](http://localhost)\r\n- Django Admin: [http://localhost/admin/](http://localhost/admin/)\r\n\r\n---\r\n\r\n### Script path\r\n\r\n|    | Theme                    | Variable                        | Script path                                                           |\r\n|----|--------------------------|---------------------------------|-----------------------------------------------------------------------|\r\n| 1  | Hydrology                | Microwatersheds                 | /computing/mws/mws.py                                                 |\r\n| 2  | Hydrology                | Precipitation                   | /computing/mws/precipitation.py                                       |\r\n| 3  | Hydrology                | Runoff                          | /computing/mws/run_off.py                                             |\r\n| 4  | Hydrology                | Evapotranspiration              | /computing/mws/evapotranspiration.py                                  |\r\n| 5  | Hydrology                | Change in groundwater           | /computing/mws/delta_g.py                                             |\r\n| 6  | Hydrology                | Change in well depth            | /computing/mws/well_depth.py                                          |\r\n| 7  | Hydrology                | Aquifers                        | /computing/misc/aquifer_vector.py                                     |\r\n| 8  | Hydrology                | Stage of Groundwater Extraction | /computing/misc/soge_vector.py                                        |\r\n| 9  | Climate                  | Drought frequency and intensity | /computing/drought/drought.py                                         |\r\n| 10 | Climate                  | Drought causality               | /computing/drought/drought_causality.py                               |\r\n| 11 | Terrain                  | Terrain classification          | /computing/terrain_descriptor/terrain_raster.py                       |\r\n| 12 | Terrain                  | Terrain cluster                 | /computing/terrain_descriptor/terrain_clusters.py                     |\r\n| 13 | Land use                 | Land use land cover             | /computing/lulc/lulc_v3.py                                            |\r\n| 14 | Land use                 | Land use on terrain             | Land use on Plain: /computing/lulc_X_terrain/lulc_on_plain_cluster.py |\r\n|    | Land use                 | Land use on terrain             | Land use on Slope: /computing/lulc_X_terrain/lulc_on_slope_cluster.py |\r\n| 15 | Land use                 | Land use changes                | /computing/change_detection/change_detection.py                       |\r\n| 16 | Land use                 | Cropping intensity              | /computing/cropping_intensity/cropping_intensity.py                   |\r\n| 17 | Land use                 | Water bodies                    | /computing/surface_water_bodies/swb.py                                |\r\n| 18 | Land use                 | First census of water bodies    | /computing/surface_water_bodies/swb3.py'                              |\r\n| 19 | Tree health              | Tree canopy cover density       | /computing/tree_health/ccd.py                                         |\r\n| 20 | Tree health              | Tree canopy height              | /computing/tree_health/canopy_height.py                               |\r\n| 21 | Tree health              | Tree cover change               | /computing/tree_health/overall_change.py                              |\r\n| 22 | Welfare                  | NREGA assets categorization     | /computing/misc/nrega.py                                              |\r\n| 23 | Administrative           | State                           | /computing/misc/admin_boundary.py                                     |\r\n| 24 | Administrative           | District                        | /computing/misc/admin_boundary.py                                     |\r\n| 25 | Administrative           | Block/Tehsil                    | /computing/misc/admin_boundary.py                                     |\r\n| 26 | Administrative           | Village                         | /computing/misc/admin_boundary.py                                     |\r\n| 27 | Water structure planning | Lithology                       | /computing/clart/lithology.py                                         |\r\n| 28 | Water structure planning | Drainage lines                  | /computing/misc/drainage_lines.py                                     |\r\n| 29 | Water structure planning | Stream order raster             | /computing/misc/stream_order.py                                       |\r\n| 30 | Water structure planning | CLART                           | /computing/clart/clart.py                                             |                                                                                                                    |\r\n\r\n### Integrating custom pipelines on CoREStack\r\n\r\nWe have prepared\r\na [detailed guide](https://docs.google.com/document/d/1lfx2hJKndmzVp55ZHIIFYqRTz-8fZCWc9QikUDQpTN0/edit?usp=sharing) on\r\nhow to integrate custom pipelines on the CoREStack backend.\r\n\r\n### Further references\r\n- [DB Design](https://github.com/core-stack-org/core-stack-backend/wiki/DB-Design) \r\n- [API Doc](https://api-doc.core-stack.org/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcore-stack-org%2Fcore-stack-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcore-stack-org%2Fcore-stack-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcore-stack-org%2Fcore-stack-backend/lists"}