{"id":23949614,"url":"https://github.com/google-map-react/old-examples","last_synced_at":"2025-04-05T10:09:49.031Z","repository":{"id":33549451,"uuid":"37195638","full_name":"google-map-react/old-examples","owner":"google-map-react","description":"Examples for google-map-react component.","archived":false,"fork":false,"pushed_at":"2018-06-27T08:38:05.000Z","size":1390,"stargazers_count":357,"open_issues_count":22,"forks_count":312,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-29T09:12:11.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://google-map-react.github.io/google-map-react/map/main/","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/google-map-react.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}},"created_at":"2015-06-10T12:25:15.000Z","updated_at":"2025-02-02T15:08:20.000Z","dependencies_parsed_at":"2022-09-09T08:41:39.317Z","dependency_job_id":null,"html_url":"https://github.com/google-map-react/old-examples","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/google-map-react%2Fold-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-map-react%2Fold-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-map-react%2Fold-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-map-react%2Fold-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google-map-react","download_url":"https://codeload.github.com/google-map-react/old-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318745,"owners_count":20919484,"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":"2025-01-06T11:49:12.210Z","updated_at":"2025-04-05T10:09:49.005Z","avatar_url":"https://github.com/google-map-react.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# google-map-react examples\nThis project is isomorphic ~~Flummox~~ [redux](https://github.com/gaearon/redux) app with [google-map-react](https://github.com/istarkov/google-map-react) control examples.\n\nIt also uses [non-standard approach](https://github.com/istarkov/google-map-react-examples/blob/master/docs/routing.md) for routing.   \nOther docs.\n* [isomorphic.md](https://github.com/istarkov/google-map-react-examples/blob/master/docs/isomorphic.md)\n\n---\n\n## Install\nI highly recommend to use docker for development.\n\n### For non docker users\n* Install   \n  ```bash\n  npm install  \n  ```\n\n* Run developer build with hot reload  \n  ```bash\n  #console 1\n  npm run hot-dev-server\n  ```\n\n  ```bash\n  #console 2\n  npm run start\n  ```\n  *run browser and type* [http://localhost:3000/map/main](http://localhost:3000/map/main)\n\n* Run production build (*isomorphic*)   \n  ```bash\n  #console 1\n  NODE_ENV=production npm run build\n  NODE_ENV=production npm run start\n  ```\n  *run browser and type* [http://localhost:3000/map/main](http://localhost:3000/map/main)\n\n* Environment variables you can set   \n  ```\n  NODE_ENV default undefined (for production version must be set NODE_ENV='production')\n  EXT_IP default 0.0.0.0 (if you need hot reload work on your subnetwork set as your local network ip)\n  HOT_RELOAD_PORT default 3081 (any port for hotreload to work)\n  SERVER_PATH default empty string ''\n  USE_PRERENDER default equal to true if NODE_ENV === 'production'\n  ```\n\n\n---\n\n\n### For docker users:\n* Install   \n  ```bash\n  ./docker/base_image/build.sh\n  ./docker/react_image/build.sh\n  #and add bash_profile aliases from ./docker/bash_profile\n  cat ./docker/bash_profile \u003e\u003e ~/.bash_profile\n  source ~/.bash_profile\n  ```\n\n* Run developer build with hot reload   \n  ```bash\n  ./docker_run\n  ```\n  *run browser and type* [http://localhost:3080/map/main](http://localhost:3000/map/main)\n\n* Run production build (*isomorphic*)   \n  ```bash\n  ./docker_run.sh --production\n  ```\n  *run browser and type* [http://localhost:3080/map/main](http://localhost:3000/map/main)\n\n* Enter container to view or to test anything (*be sure bash_profile aliases from ./docker/bash_profile installed*)   \n  ```bash\n  #be sure bash_profile aliases from ./docker/bash_profile installed\n  denter gmr\n  tmux att\n  ```\n\n\n---\n\n\n# For Docker OSX users:\n* install watchman   \n  ```bash\n  brew install watchman\n  ```\n\n* fix watchman add this to ~/Library/LaunchAgents/com.github.facebook.watchman.plist   \n  ```xml\n  \u003ckey\u003eEnvironmentVariables\u003c/key\u003e\n  \u003cdict\u003e\n      \u003ckey\u003ePATH\u003c/key\u003e\n      \u003cstring\u003e/Users/ice/v-1/install/google-sdk/google-cloud-sdk/bin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/CrossPack-AVR/bin:/usr/local/go/bin:/Users/ice/v-1/checker-276:/home/ice/web_projects/amazon_ec2/ec2-api-tools-1.6.13.0/bin\u003c/string\u003e\n  \u003c/dict\u003e\n  ```\n\n  ```bash\n  launchctl unload -w ~/Library/LaunchAgents/com.github.facebook.watchman.plist\n  launchctl load -w ~/Library/LaunchAgents/com.github.facebook.watchman.plist\n  ```\n\n* install boot2docker with nfs support (vboxfs is really-really slow) \n\n\n# gh-pages generation\n```\n./docker_run.sh --serverpath '/google-map-react' --production\ndenter gmr\ntmux att\n./scripts/gh-pages-generator.sh\n```\n\n## License\nMIT (http://www.opensource.org/licenses/mit-license.php)   \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle-map-react%2Fold-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle-map-react%2Fold-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle-map-react%2Fold-examples/lists"}