Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/groundedsage/repro-electric-datahike-transact-bug
https://github.com/groundedsage/repro-electric-datahike-transact-bug
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/groundedsage/repro-electric-datahike-transact-bug
- Owner: groundedsage
- License: mit-0
- Created: 2024-12-17T05:12:37.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-17T05:24:18.000Z (about 1 month ago)
- Last Synced: 2024-12-17T06:24:41.229Z (about 1 month ago)
- Language: Clojure
- Size: 242 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Electric v3 Starter App
## Instructions
Dev build:
* Shell: `clj -A:dev -X dev/-main`, or repl: `(dev/-main)`
* authentication instructions will be printed
* App will start on http://localhost:8080
* Electric root function: [src/electric_starter_app/main.cljc](src/electric_starter_app/main.cljc)
* Hot code reloading works: edit -> save -> see app reload in browser```shell
# Prod build
clj -X:build:prod build-client
clj -M:prod -m prod# Uberjar (optional)
clj -X:build:prod uberjar :build/jar-name "app.jar"
java -cp target/app.jar clojure.main -m prod# Docker
docker build -t electric3-starter-app:latest .
docker run --rm -it -p 8080:8080 electric3-starter-app:latest```
- fly.io deployment: [fly.toml](fly.toml)
- github actions + fly: [.github/workflows/deploy.yml](.github/workflows/deploy.yml)