@@ -53,31 +53,31 @@ git checkout testing-001
5353### Initial Setup
5454
55551 . ** 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
[email protected] -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
[email protected] -display
" Administrator" -admin
62+ ```
63632 . ** Secure your instance** - Login → Statistics → Disable registrations
64643 . ** Add newsgroups** - Admin → Add groups you want to follow
65- - or bulk import newsgroups
65+ - Or bulk import newsgroups:
6666``` 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
7269./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.
7470```
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.
75734 . ** Configure provider** - Admin → Providers (defaults works)
7674
77755 . ** 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
7977 - this is a free service and we want to keep it running for everyone.
8078 - 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!
8181
82826 . ** Fetch articles** - Use ` pugleaf-fetcher ` to download articles from subscribed groups
83837 . ** Runtime Mode** - Set connections to max 10 when your back filling is finished.
@@ -163,7 +163,7 @@ The usermgr tool is particularly useful for:
163163- Batch user management and automation
164164- Managing users when web interface is unavailable
165165
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.**
167167
168168### Building individual tools
169169
@@ -180,6 +180,43 @@ Or build a single tool manually, e.g.:
180180go build -o build/usermgr ./cmd/usermgr
181181```
182182
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+
183220## 📚 Binary Documentation
184221
185222go-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
190227
191228#### ` webserver ` (cmd/web)
192229** Main web interface**
230+ ``` bash
193231./webserver -nntphostname your.domain.com
194232```
195233
@@ -252,7 +290,7 @@ go-pugleaf includes command-line applications for various newsgroup management t
252290- ` -nntphostname string ` - Your hostname must be set!
253291
254292** Connection Configuration:**
255- - ` -host string` - NNTP hostname (default: " lux-feed1.newsdeef.eu " )
293+ - ` -host string ` - NNTP hostname (default: "81-171-22-215.pugleaf.net ")
256294- ` -port int ` - NNTP port (default: 563)
257295- ` -username string ` - NNTP username (default: "read")
258296- ` -password string ` - NNTP password (default: "only")
@@ -303,7 +341,7 @@ go-pugleaf includes command-line applications for various newsgroup management t
303341```
304342
305343** Connection Configuration:**
306- - ` -host string` - NNTP hostname (default: " lux-feed1.newsdeef.eu " )
344+ - ` -host string ` - NNTP hostname (default: "81-171-22-215.pugleaf.net ")
307345- ` -port int ` - NNTP port (default: 563)
308346- ` -username string ` - NNTP username (default: "read")
309347- ` -password string ` - NNTP password (default: "only")
@@ -573,3 +611,4 @@ GPL v2 - see [LICENSE](LICENSE)
573611This project is inspired by the work of Thomas "Retro Guy" Miller and the original RockSolid Light project.
574612
575613-- the pugleaf.net development team -
614+ ```
0 commit comments