online

command module
v0.0.0-...-fd13016 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

Application to manage the Word Of Life Ministries online catalog.

Status

This is a GoLang application that reads information about series and messages from Google Sheets, and generates output files that can be uploaded to the web to serve this content online.

Configuration

Reference: https://github.com/juampynr/google-spreadsheet-reader

Create a Service Account and download the credentials file. Copy the credentials file to ~/.wolm/credentials.json. Get the email address for this service account and share the spreadsheet with it.

Configuration is first read from online.yaml in the current working directory. If that is not found, then ~/.wolm/online.yaml is tried. Parameters on the command line override anything in the configuration file.

Testing - MacOS

Create sample test data in /tmp/online-catalog.json

make dryrun-dump

Generate a local copy of the website

make dryrun-catalog
open /tmp/t/catalog.*-az-*.html

Testing - Windows

Download the spreadsheet data

make win-dump

Create catalog from the spreadsheet data in ~/.wolm/catalog

make win-local

Documentation

Overview

Copyright © 2021 Word of Life Ministries <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL