This repo is archived because the Google authentication is not working in Java any more. At the time of writing, even Google's sample code won't authenticate correctly, so I'm moving this project to GoLang under the project WordOfLifeMN/online
Utility to construct and update the web pages that comprise the message catalog Word of Life Ministries of Minnesota. Builds and uploads all the pages that http://www.wordoflifemn.org/messages-online.html points to.
- Clone this repository
- Run
mvn package
- Install the
aws
command line interface as described here: https://aws.amazon.com/cli/
-
mkdir ~/.wolm
-
Get your service ID from Google and store it in the
google.properties
file.
$ cat ~/.wolm/google.properties
[email protected]
- Get your AWS credentials and store them in the
~/.wolm/aws.s3.properties
file.
$ cat ~/.wolm/aws.s3.properties
username=Media.Department
accessKey=****************S76Q
secretKey=****************GufJ
- Install the same credentials as above for the aws command line under the
wolm
profile.
$ aws --profile=wolm configure
AWS Access Key ID: ****************S76Q
AWS Secret Access Key:****************GufJ
Default region name: us-west-2
Default output format: json
mvn clean package
cd
to project directory (the one containing this README)./generate-public-catalog.command
./generate-public-catalog.command --local