https://github.com/oliverjash/samefourchords.com
https://github.com/oliverjash/samefourchords.com
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oliverjash/samefourchords.com
- Owner: OliverJAsh
- Created: 2014-06-15T23:14:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-27T09:22:17.000Z (about 7 years ago)
- Last Synced: 2025-01-16T22:12:29.658Z (5 months ago)
- Language: TypeScript
- Homepage: https://samefourchords.com
- Size: 82 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# samefourchords.com
## Usage
```
npm install
npm start
```## Deploy
```
git push
```## Sync
```
aws s3 sync ~/Development/samefourchords.com-images/ s3://samefourchords.com-images --cache-control "max-age=31536000" --delete --dryrun
# OR
s3cmd sync ~/Development/samefourchords.com-images/ s3://samefourchords.com-images --add-header='Cache-Control':'max-age=31536000' --delete-removed --dry-run
```## Add headers
```
s3cmd --recursive modify --add-header="Cache-Control: max-age=31536000" s3://samefourchords.com-images
```## Create post
```
(id="2016-11-12-ampthill-park-and-luton-hoo" title="Ampthill Park and Luton Hoo"; rm -rf ./scripts/target/ && mkdir -p ./scripts/target && tsc --project ./scripts && node ./scripts/target/scripts/src/createPostCli.js $id $title > ./server/src/posts/$id.json)
```