{"id":15757017,"url":"https://github.com/treethought/landing-page","last_synced_at":"2025-03-31T08:26:32.814Z","repository":{"id":78924451,"uuid":"133400496","full_name":"treethought/landing-page","owner":"treethought","description":"landing page for goodcall.nyc","archived":false,"fork":false,"pushed_at":"2018-05-14T18:24:39.000Z","size":90431,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T12:48:22.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://goodcall.nyc","language":"JavaScript","has_issues":false,"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/treethought.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":"2018-05-14T17:49:51.000Z","updated_at":"2020-06-19T02:30:04.000Z","dependencies_parsed_at":"2023-04-18T21:30:48.981Z","dependency_job_id":null,"html_url":"https://github.com/treethought/landing-page","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/treethought%2Flanding-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treethought%2Flanding-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treethought%2Flanding-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treethought%2Flanding-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treethought","download_url":"https://codeload.github.com/treethought/landing-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246438619,"owners_count":20777458,"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-10-04T09:03:46.357Z","updated_at":"2025-03-31T08:26:32.795Z","avatar_url":"https://github.com/treethought.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# landing-page\n\nlanding page for goodcall.nyc\n\n[structure doc](./STRUCTURE.md)\n\n## setup\n\n```bash\ngit clone https://github.com/good-call-nyc/landing-page.git\ncd landing-page\nnpm install\n```\n\nrun `cp .env.example .env` and then add our s3 environment variables to `.env`\n\nWhen first creating the s3 bucket, add the following CORS configuration to support deploying the site on the robinhood domain for adwords:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cCORSConfiguration xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"\u003e\n    \u003cCORSRule\u003e\n        \u003cAllowedOrigin\u003ehttps://labs.robinhood.org\u003c/AllowedOrigin\u003e\n        \u003cAllowedMethod\u003eGET\u003c/AllowedMethod\u003e\n        \u003cMaxAgeSeconds\u003e3000\u003c/MaxAgeSeconds\u003e\n        \u003cAllowedHeader\u003eAuthorization\u003c/AllowedHeader\u003e\n    \u003c/CORSRule\u003e\n\u003c/CORSConfiguration\u003e\n```\n\n## develop\n\n```bash\nnpm start\n```\n\nvisit http://localhost:9966\n\n## stage\n\n```bash\nnpm run stage\n```\n\nvisit http://good-call-nyc-staging.surge.sh/\n\n## deploy\n\n```bash\nnpm run deploy\n```\n\n[log in to aws](https://console.aws.amazon.com/console/home?region=us-east-1), navigate to our [cloudfront distribution](https://console.aws.amazon.com/cloudfront/home?region=us-east-1#distribution-settings:E3K69I05FW71HX), and create an invalidaton with the any of the following object paths (depending on what you changed):\n\n```\n/index.html\n/assets/*\n/bundle.js\n```\n\nif any new routes were added to `./app/index.js`, after the invalidation is complete, use [botmap.io](http://botmap.io/) to generate a new `sitemap.xml` file for https://goodcall.nyc. Download that file into the root directory of this repository.\n\nfinally, deploy again, and create another invalidation with the following object path:\n\n```\n/sitemap.xml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreethought%2Flanding-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreethought%2Flanding-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreethought%2Flanding-page/lists"}