https://github.com/samuelmarks/study-graph-angular
https://github.com/samuelmarks/study-graph-angular
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/samuelmarks/study-graph-angular
- Owner: SamuelMarks
- Created: 2018-01-25T06:13:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T13:14:57.000Z (over 8 years ago)
- Last Synced: 2025-01-28T04:31:57.646Z (over 1 year ago)
- Language: TypeScript
- Size: 161 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
study-graph-angular
===================
Simple scaffold generated with `@angular/cli` then implemented manually.
## Update version
sed -i "/this.serverStatus =/c\ this.serverStatus = {version: 'App $(jq -r .version package.json); '};" src/app/server-status/server-status.component.ts
## Deploy distribution
Clone [study-graph-dist](https://github.com/SamuelMarks/study-graph-dist) one directory above, then:
rm -rf dist; ng build -prod && d=../study-graph-dist && rm -rf "$d/dist" && mv "$PWD/dist" "$d" && cd "$d" && (git add .; git status) || ( >&2 echo BUILD FAILED )