https://github.com/treethought/landing-page
landing page for goodcall.nyc
https://github.com/treethought/landing-page
Last synced: about 1 year ago
JSON representation
landing page for goodcall.nyc
- Host: GitHub
- URL: https://github.com/treethought/landing-page
- Owner: treethought
- Created: 2018-05-14T17:49:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T18:24:39.000Z (about 8 years ago)
- Last Synced: 2025-02-06T12:48:22.378Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://goodcall.nyc
- Size: 86.2 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# landing-page
landing page for goodcall.nyc
[structure doc](./STRUCTURE.md)
## setup
```bash
git clone https://github.com/good-call-nyc/landing-page.git
cd landing-page
npm install
```
run `cp .env.example .env` and then add our s3 environment variables to `.env`
When first creating the s3 bucket, add the following CORS configuration to support deploying the site on the robinhood domain for adwords:
```xml
https://labs.robinhood.org
GET
3000
Authorization
```
## develop
```bash
npm start
```
visit http://localhost:9966
## stage
```bash
npm run stage
```
visit http://good-call-nyc-staging.surge.sh/
## deploy
```bash
npm run deploy
```
[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):
```
/index.html
/assets/*
/bundle.js
```
if 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.
finally, deploy again, and create another invalidation with the following object path:
```
/sitemap.xml
```