Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove Air live-reload setup

Manav Rathieeebe32b8bfa
diff --git a/server/.air.toml b/server/.air.toml
deleted file mode 100644
index 068d38cddb..0000000000
--- a/server/.air.toml
+++ /dev/null
@@ -1,32 +0,0 @@
-root = "."
-tmp_dir = "tmp"
-
-[build]
- bin = "./tmp/main"
- cmd = "go build -o ./tmp ./cmd/museum/main.go"
- delay = 1000
- exclude_dir = ["assets", "tmp", "vendor"]
- exclude_file = []
- exclude_regex = []
- exclude_unchanged = false
- follow_symlink = false
- full_bin = "./tmp/main"
- include_dir = []
- include_ext = ["go", "tpl", "tmpl", "html"]
- kill_delay = "0s"
- log = "build-errors.log"
- send_interrupt = false
- stop_on_error = true
-
-[color]
- app = ""
- build = "yellow"
- main = "magenta"
- runner = "green"
- watcher = "cyan"
-
-[log]
- time = false
-
-[misc]
- clean_on_exit = false
diff --git a/server/RUNNING.md b/server/RUNNING.md
index 88d1d41f94..029cfe4b25 100644
--- a/server/RUNNING.md
+++ b/server/RUNNING.md
@@ -219,12 +219,6 @@ From `ente/server`,
go run cmd/museum/main.go
```
-For live reloads, install [air](https://github.com/cosmtrek/air#installation). Then you can just call `air` after declaring the required environment variables. For example,
-
-```sh
-air
-```
-
### Testing
For quick local iteration without Postgres-backed tests, run `go test ./...` or a narrower package like `go test ./pkg/controller/email`. Tests that require Postgres skip unless the test environment is explicitly enabled.