File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release dpr Binary
22
3+ permissions :
4+ contents : write
5+
36on :
47 push :
58 tags :
2225 go build -o dpr .
2326
2427 - name : Upload Release Asset
25- uses : softprops/action-gh-release@v2
26- with :
28+ env: : softprops/action-gh-release@v2
29+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2730 files : dpr
2831 env :
2932 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 44
55dPrompt is a distributed job processing system using River and PostgreSQL, with support for LLM (Ollama) integration.
66
7- ## Setup
7+ ## Installation
88
9- 1 . ** Build the binary :**
9+ 1 . ** Run the installer script :**
1010 ``` sh
11- make build
11+ curl -fsSL https://raw.githubusercontent.com/HexmosTech/dPrompts/main/install.sh | bash
1212 ```
1313
14+ This will:
15+ - Download and install the latest ` dpr ` binary to ` /usr/local/bin `
16+ - Copy ` .dprompts.toml ` to your home directory (if present in the current directory)
17+ - Check/install Ollama and the required model
18+ - Start the Ollama server if not already running
19+
14202 . ** Configuration:**
1521 - Place your configuration file as ` .dprompts.toml ` in your home directory (` $HOME/.dprompts.toml ` ).
16-
22+
23+
1724## Usage
1825
1926### Run a Worker
@@ -23,7 +30,7 @@ make worker
2330```
2431or
2532``` sh
26- ./dprompts --mode=worker
33+ dpr --mode=worker
2734```
2835
2936### Enqueue a Job (Client Mode)
@@ -33,7 +40,7 @@ make client
3340```
3441or manually:
3542``` sh
36- ./dprompts --mode=client --args=' {"prompt":"Why is the sky blue?"}' --metadata=' {"type":"manpage","category":"science"}'
43+ dpr --mode=client --args=' {"prompt":"Why is the sky blue?"}' --metadata=' {"type":"manpage","category":"science"}'
3744```
3845
3946## Notes
You can’t perform that action at this time.
0 commit comments