{"id":17671569,"url":"https://github.com/giswqs/geemap-tutorials","last_synced_at":"2025-10-04T01:32:47.366Z","repository":{"id":96384763,"uuid":"309239079","full_name":"giswqs/geemap-tutorials","owner":"giswqs","description":"Interactive geemap tutorials on heroku","archived":false,"fork":false,"pushed_at":"2021-01-26T01:57:42.000Z","size":5929,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T13:37:18.305Z","etag":null,"topics":["earth-engine","folium","geemap","google-earth-engine","ipyleaflet","jupyter","mapping","python"],"latest_commit_sha":null,"homepage":"https://geemap-tutorials.herokuapp.com","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giswqs.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}},"created_at":"2020-11-02T02:40:27.000Z","updated_at":"2024-01-08T10:17:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd6341c4-1f04-4417-b130-1cc5536dc140","html_url":"https://github.com/giswqs/geemap-tutorials","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giswqs%2Fgeemap-tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giswqs%2Fgeemap-tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giswqs%2Fgeemap-tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giswqs%2Fgeemap-tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giswqs","download_url":"https://codeload.github.com/giswqs/geemap-tutorials/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253765090,"owners_count":21960671,"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":["earth-engine","folium","geemap","google-earth-engine","ipyleaflet","jupyter","mapping","python"],"created_at":"2024-10-24T03:42:52.219Z","updated_at":"2025-10-04T01:32:47.256Z","avatar_url":"https://github.com/giswqs.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geemap-heroku\n\nPython scripts for deploying Earth Engine Apps to heroku, try it out: \u003chttps://geemap-tutorials.herokuapp.com/\u003e\n\n## How to deploy your own Earth Engine Apps?\n\n- [Sign up](https://signup.heroku.com/) for a free heroku account.\n- Follow the [instructions](https://devcenter.heroku.com/articles/getting-started-with-python#set-up) to install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) and Heroku Command Line Interface (CLI).\n- Authenticate heroku using the `heroku login` command.\n- Clone this repository: \u003chttps://github.com/giswqs/geemap-tutorials\u003e\n- Create your own Earth Engine notebook and put it under the `notebooks` directory.\n- Add Python dependencies in the `requirements.txt` file if needed.\n- Edit the `Procfile` file by replacing `notebooks/geemap.ipynb` with the path to your own notebook.\n- Commit changes to the repository by using `git add . \u0026\u0026 git commit -am \"message\"`.\n- Create a heroku app: `heroku create`\n- Run the `config_vars.py` script to extract Earth Engine token from your computer and set it as an environment variable on heroku: `python config_vars.py`\n- Deploy your code to heroku: `git push heroku master`\n- Open your heroku app: `heroku open`\n\n## Optional steps\n\n- To specify a name for your app, use `heroku apps:create example`\n- To preview your app locally, use `heroku local web`\n- To hide code cells from your app, you can edit the `Procfile` file and set `--strip_sources=True`\n- To periodically check for idle kernels, you can edit the `Procfile` file and set `--MappingKernelManager.cull_interval=60 --MappingKernelManager.cull_idle_timeout=120`\n- To view information about your running app, use `heroku logs --tail`\n- To set an environment variable on heroku, use `heroku config:set NAME=VALUE`\n- To view environment variables for your app, use `heroku config`\n\n## Credits\n\nThe instructions above on how to deploy a voila application on heroku are adapted from [voila-dashboards/voila-heroku](https://github.com/voila-dashboards/voila-heroku).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiswqs%2Fgeemap-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiswqs%2Fgeemap-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiswqs%2Fgeemap-tutorials/lists"}