Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
docs: update preview
Browse files Browse the repository at this point in the history
  • Loading branch information
dvgamerr committed Apr 8, 2024
1 parent 52aacce commit e02500d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github: dvgamerr
custom: https://mr.touno.io/donate/
github: dvgamerr
custom: https://sponsor.dvgamerr.app
17 changes: 0 additions & 17 deletions .github/workflows/notice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,23 +147,6 @@ jobs:
- name: Checkout 🛎
uses: actions/checkout@v4

# - name: Get yarn cache directory path 🛠
# uses: pnpm/action-setup@v2
# with:
# version: 8
# run_install: true

# - name: Cache node_modules 📦
# uses: actions/cache@v3
# with:
# path: node_modules
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-pnpm-store-

# - name: Install dependencies
# run: pnpm i --prod

- name: Prepare 🔰
id: prepare
run: |
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ This is a template to help you if you want to implement Line Notify. It help us
- A notify entry point to notify Line Notify server

### Just want to try it?
- Download and Install [Rancher Desktop](https://rancherdesktop.io/)
- Build Container with UI and API
```bash
docker pull dvgamerr/notice:latest
docker run --rm -p 3000:3000 -v db-notice:/db -e SQLITE_PATH=/db/notice.db dvgamerr/notice:latest
```
docker build -e BASE_URL=http://localhost/ -f notice-api.Dockerfile -t notice-api:latest .
docker build -e BASE_URL=http://localhost/ -f notice-ui.Dockerfile -t notice-ui:latest .

kubectl apply -f deployments.yaml
#### Development
```bash
bun i
bun --watch index.js | pino-pretty
```

## UI Sample

| Notify | Room | Detail |
| ---------------------------------------- | ------------------------------------ | ---------------------------------------- |
| ![notify](./src/assets/liff-notify.webp) | ![room](./src/assets/liff-room.webp) | ![detail](./src/assets/liff-detail.webp) |
| ![notify](./docs/liff-notify.webp) | ![room](./docs/liff-room.webp) | ![detail](./docs/liff-detail.webp) |
Binary file added docs/liff-detail.webp
Binary file not shown.
Binary file added docs/liff-notify.webp
Binary file not shown.
Binary file added docs/liff-room.webp
Binary file not shown.

0 comments on commit e02500d

Please sign in to comment.