Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 10 additions & 38 deletions .air.toml
Original file line number Diff line number Diff line change
@@ -1,51 +1,23 @@
root = "."
testdata_dir = "testdata"
tmp_dir = "tmp"

[build]
args_bin = []
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ./cmd"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
exclude_file = []
entrypoint = ["./tmp/main"]
delay = 500
include_dir = ["api", "cmd", "pkg"]
include_ext = ["go"]
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = ""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
kill_delay = "0s"
log = "build-errors.log"
poll = false
poll_interval = 0
post_cmd = []
pre_cmd = []
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false

[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
exclude_unchanged = true
send_interrupt = true
kill_delay = "500ms"
stop_on_error = true

[log]
main_only = false
silent = false
time = false
time = true

[misc]
clean_on_exit = false

[proxy]
app_port = 0
enabled = false
proxy_port = 0
clean_on_exit = true

[screen]
clear_on_rebuild = false
Expand Down
Binary file removed .docs/readme/images/1.png
Binary file not shown.
Binary file removed .docs/readme/images/10.png
Binary file not shown.
Binary file removed .docs/readme/images/2.png
Binary file not shown.
Binary file removed .docs/readme/images/3.png
Binary file not shown.
Binary file removed .docs/readme/images/4.png
Binary file not shown.
Binary file removed .docs/readme/images/5.png
Binary file not shown.
Binary file removed .docs/readme/images/6.png
Binary file not shown.
Binary file removed .docs/readme/images/7.png
Binary file not shown.
Binary file removed .docs/readme/images/8.png
Binary file not shown.
Binary file removed .docs/readme/images/9.png
Binary file not shown.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ updates:
- '*'
- package-ecosystem: 'docker'
directories:
- '/.docker/js'
- '/.docker/go'
- '/docker/js'
- '/docker/go'
schedule:
interval: 'monthly'
groups:
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

</div>

![2](/.docs/readme/images/title.png)
![2](/docs/assets/readme/images/title.png)

## 目次

Expand Down Expand Up @@ -209,15 +209,7 @@ pnpm test:e2e:report
❯ tree -a -I "node_modules|.next|.git|out|.vercel|_|.DS_Store|.env|next-env.d.ts|tmp|coverage|tsconfig.tsbuildinfo|playwright-report|test-results|.pnpm-store|.terraform|terraform.tfstate|terraform.tfstate.backup|terraform.tfvars" -L 3
.
├── .air.toml
├── .docker
│ ├── go
│ │ └── Dockerfile
│ └── js
│ └── Dockerfile
├── .dockerignore
├── .docs
│ └── readme
│ └── images
├── .env.example
├── .github
│ ├── dependabot.yml
Expand Down Expand Up @@ -247,6 +239,14 @@ pnpm test:e2e:report
├── cmd
│ └── main.go
├── docker-compose.yml
├── docker
│ ├── go
│ │ └── Dockerfile
│ └── js
│ └── Dockerfile
├── docs
│ └── assets
│ └── readme
├── e2e
│ ├── contact.spec.ts
│ ├── feeds.spec.ts
Expand Down
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
services:
js:
container_name: js
build:
context: .
dockerfile: ./.docker/js/Dockerfile
dockerfile: ./docker/js/Dockerfile
volumes:
- './:/var/www/html/js'
- '/var/www/html/js/node_modules'
Expand All @@ -15,10 +14,9 @@ services:
- network

go:
container_name: go
build:
context: .
dockerfile: ./.docker/go/Dockerfile
dockerfile: ./docker/go/Dockerfile
volumes:
- './:/app'
working_dir: '/app'
Expand Down
4 changes: 3 additions & 1 deletion .docker/go/Dockerfile → docker/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ FROM golang:1.26.3-alpine

WORKDIR /app

RUN go install github.com/air-verse/air@latest
ARG AIR_VERSION=v1.65.1
RUN go install github.com/air-verse/air@${AIR_VERSION}

COPY ./go.mod ./go.sum ./
RUN go mod download

COPY ./.air.toml ./
COPY ./api/ ./api/
COPY ./cmd/ ./cmd/
COPY ./pkg/ ./pkg/

EXPOSE 8000

Expand Down
File renamed without changes.
File renamed without changes
Loading