https://github.com/pianopia/countdown
https://github.com/pianopia/countdown
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pianopia/countdown
- Owner: pianopia
- Created: 2025-04-03T12:06:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-29T05:08:04.000Z (about 1 year ago)
- Last Synced: 2025-07-08T00:47:56.577Z (11 months ago)
- Language: TypeScript
- Size: 914 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Token create
```bash
openssl rand -base64 32
```
## Deploy
```bash
# artifact registry の作成
gcloud artifacts repositories create countdown \
--repository-format=docker \
--location=asia-east1 \
--description="Frontend Docker images"
# artifact registry の認証
gcloud auth configure-docker asia-east1-docker.pkg.dev
# ビルド
docker buildx build -t asia-east1-docker.pkg.dev/frash-447004/countdown/countdown:latest --platform linux/amd64 .
# プッシュ
docker push asia-east1-docker.pkg.dev/frash-447004/countdown/countdown:latest
gcloud run deploy countdown --image asia-east1-docker.pkg.dev/frash-447004/countdown/countdown:latest --platform managed --set-env-vars NODE_ENV=production --region=asia-east1
gcloud run services update-traffic countdown --to-latest --region=asia-east1
gcloud artifacts repositories delete countdown --location=asia-east1
```
## No Left Space
```bash
docker system df
docker system prune -a
docker system prune --volumes
```