@@ -53,31 +53,31 @@ git checkout testing-001
53
53
### Initial Setup
54
54
55
55
1 . ** Create admin account** - Choose one of two methods:
56
- - ** Web registration** : First registered user becomes administrator
57
- - ** Command line** : Use the usermgr tool to create admin users directly
58
- ``` bash
59
- go build -o build/usermgr ./cmd/usermgr
60
- mv build/usermgr .
61
- ./usermgr -create -username admin -email admin@example.com -display " Administrator" -admin
62
- ```
56
+ - ** Web registration** : First registered user becomes administrator
57
+ - ** Command line** : Use the usermgr tool to create admin users directly
58
+ ``` bash
59
+ ./build_usermgr.sh
60
+ mv build/usermgr .
61
+ ./usermgr -create -username admin -email admin@example.com -display " Administrator" -admin
62
+ ```
63
63
2 . ** Secure your instance** - Login → Statistics → Disable registrations
64
64
3 . ** Add newsgroups** - Admin → Add groups you want to follow
65
- - or bulk import newsgroups
65
+ - Or bulk import newsgroups:
66
66
``` bash
67
- ./webserver -import-active preload/active.txt
68
- ./webserver -update-desc preload/newsgroups.descriptions
69
- - rslight section import:
70
- - see etc/menu.conf and creating sections aka folders in etc/ containing a groups.txt
71
- - like etc/section/groups.txt
67
+ ./webserver -import-active preload/active.txt -nntphostname your.domain.com
68
+ ./webserver -update-desc preload/newsgroups.descriptions -nntphostname your.domain.com
72
69
./rslight-importer -data data -etc etc -spool spool -nntphostname your.domain.com
73
- - spool folder can be empty if you don' t want to import rocksolid backups.
74
70
```
71
+ - rslight section import: see etc/menu.conf and creating sections aka folders in etc/ containing a groups.txt (e.g., etc/section/groups.txt)
72
+ - spool folder can be empty if you don't want to import rocksolid backups.
75
73
4 . ** Configure provider** - Admin → Providers (defaults works)
76
74
77
75
5 . ** Limit Connections**
78
- - Please limit to max 500 connections at lux-feed1.newsdeef.eu
76
+ - Please limit to max 50 connections at 81-171-22-215.pugleaf.net
79
77
- this is a free service and we want to keep it running for everyone.
80
78
- blueworldhosting and eternal-september have hardcoded limit of 3 conns!
79
+ - There is NO NEED to download all usenet from archives again!
80
+ - Unfiltered databases will be shared via torrent soon!
81
81
82
82
6 . ** Fetch articles** - Use ` pugleaf-fetcher ` to download articles from subscribed groups
83
83
7 . ** Runtime Mode** - Set connections to max 10 when your back filling is finished.
@@ -163,7 +163,7 @@ The usermgr tool is particularly useful for:
163
163
- Batch user management and automation
164
164
- Managing users when web interface is unavailable
165
165
166
- 📖 ** For complete documentation of all 19 available binaries and their flags, see [Binary Documentation](# - binary-documentation) below.**
166
+ 📖 ** For complete documentation of all 19 available binaries and their flags, see [ Binary Documentation] ( #binary-documentation ) below.**
167
167
168
168
### Building individual tools
169
169
@@ -180,6 +180,43 @@ Or build a single tool manually, e.g.:
180
180
go build -o build/usermgr ./cmd/usermgr
181
181
```
182
182
183
+ ### Building and Release
184
+
185
+ ** Build all binaries:**
186
+ ``` bash
187
+ # Build all binaries (automatically generates checksums)
188
+ ./build_ALL.sh
189
+ ```
190
+
191
+ ** Generate checksums manually:**
192
+ ``` bash
193
+ # Generate SHA256 checksums for all executables in build/
194
+ ./createChecksums.sh
195
+ ```
196
+
197
+ ** Build and create release package:**
198
+ ``` bash
199
+ # Build all binaries and create release package with checksums
200
+ ./build_ALL.sh update
201
+ ```
202
+
203
+ This creates:
204
+ - ` checksums.sha256 ` - SHA256 hashes for all individual executables (with build/ paths)
205
+ - ` checksums.sha256.archive ` - SHA256 hashes with relative paths for archive inclusion
206
+ - ` update.tar.gz ` - Compressed archive of all binaries including checksums.sha256
207
+ - ` .update ` - SHA256 hash of the tar.gz file
208
+
209
+ ** Verify checksums:**
210
+ ``` bash
211
+ # Verify all executable checksums (from repository root)
212
+ sha256sum -c checksums.sha256
213
+
214
+ # Verify checksums after extracting release archive
215
+ tar -xzf update.tar.gz
216
+ cd extracted-directory/
217
+ sha256sum -c checksums.sha256 # Verify all executables in release
218
+ ```
219
+
183
220
## 📚 Binary Documentation
184
221
185
222
go-pugleaf includes command-line applications for various newsgroup management tasks.
@@ -190,6 +227,7 @@ go-pugleaf includes command-line applications for various newsgroup management t
190
227
191
228
#### ` webserver ` (cmd/web)
192
229
** Main web interface**
230
+ ``` bash
193
231
./webserver -nntphostname your.domain.com
194
232
```
195
233
@@ -252,7 +290,7 @@ go-pugleaf includes command-line applications for various newsgroup management t
252
290
- ` -nntphostname string ` - Your hostname must be set!
253
291
254
292
** Connection Configuration:**
255
- - ` -host string` - NNTP hostname (default: " lux-feed1.newsdeef.eu " )
293
+ - ` -host string ` - NNTP hostname (default: "81-171-22-215.pugleaf.net ")
256
294
- ` -port int ` - NNTP port (default: 563)
257
295
- ` -username string ` - NNTP username (default: "read")
258
296
- ` -password string ` - NNTP password (default: "only")
@@ -303,7 +341,7 @@ go-pugleaf includes command-line applications for various newsgroup management t
303
341
```
304
342
305
343
** Connection Configuration:**
306
- - ` -host string` - NNTP hostname (default: " lux-feed1.newsdeef.eu " )
344
+ - ` -host string ` - NNTP hostname (default: "81-171-22-215.pugleaf.net ")
307
345
- ` -port int ` - NNTP port (default: 563)
308
346
- ` -username string ` - NNTP username (default: "read")
309
347
- ` -password string ` - NNTP password (default: "only")
@@ -573,3 +611,4 @@ GPL v2 - see [LICENSE](LICENSE)
573
611
This project is inspired by the work of Thomas "Retro Guy" Miller and the original RockSolid Light project.
574
612
575
613
-- the pugleaf.net development team -
614
+ ```
0 commit comments