https://github.com/dylanblokhuis/homebrew-workers
experimental self hostable V8 workers
https://github.com/dylanblokhuis/homebrew-workers
Last synced: 2 months ago
JSON representation
experimental self hostable V8 workers
- Host: GitHub
- URL: https://github.com/dylanblokhuis/homebrew-workers
- Owner: dylanblokhuis
- Created: 2022-03-12T23:09:27.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-06T21:10:59.000Z (about 3 years ago)
- Last Synced: 2025-01-11T17:53:29.542Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.19 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Setup
1. Copy `.env.example` to `.env`
2. Fill `JWT_SECRET`, `ADMIN_CLIENT_ID` and `ADMIN_CLIENT_SECRET`
3. Startup the services `docker-compose up -d`
4. Login to minio at `http://localhost:9000`
5. Create a user with readwrite (copy the `S3_ACCESS_KEY` and `S3_SECRET_KEY` to .env) and create a bucket (set the `S3_BUCKET` in `.env`)
## Developing apps
To develop apps you can use the CLI to watch the script and restart instantly.
```sh
cargo install --path ./cli
``````sh
hbw help
``````sh
DATABASE_URL=postgres://workers:password@localhost/workers hbw run /path/to/folder --watch
```