Source code for inspiredscripture.com
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.
Automated tests may be run using the npm test
command.
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.
- Theme and Layout: Bootstrap
- Components: React-Bootstrap
- Icons: Bootstrap Icons
Deployments are automatically executed on successful merge to the master branch. The production site is hosted via Netlify.