Skip to content

strake7/inspired-scripture

Repository files navigation

Source code for inspiredscripture.com

Getting Started

This site is build using using Next.js as a static site generator. You can read more about building sites and apps with Next.js in their documentation at https://nextjs.org/docs. To get started ensure you have the latest of npm and nodejs installed, clone this repository and run npm install. Once the dependencies are installed you can run npm start to run the site locally. Visit http://localhost:3000/ to preview the site. The Next.js development server will automatically reload the CSS or refresh the whole page, when stylesheets or content changes.

Tests

Automated tests may be run using the npm test command.

Generating Study Pages

The primary content, study pages are rendered at design-time. John's studies are written as word documents. To best present this material in a web browser the content should be converted to html from docx. To do this you can use pandoc to handle the conversion. Example command:

pandoc --self-contained \"$fdocx\" -o \"$fhtml\""

Or use the helper scripts in the _studies dir.

source _studies/converter_fns.sh && convert_all_docx

Note that the --self-contained flag is critical for perserving media within the document which reduces complexity down the line. Studies are expected to be stored in the _studies dir.

Styling and Components

Deployment

Deployments are automatically executed on successful merge to the master branch. The production site is hosted via Netlify.

About

Old testament bible commentary by John Edson.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages