Skip to content

Wycliffe-USA/mpdx-get

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This site uses a bootstrap theme (https://startbootstrap.com/theme/new-age/) created by Start Bootstrap.

Status

GitHub license npm version

Download and Installation

To begin using this site, choose one of the following options to get started:

  • Clone the repo: git clone [email protected]:Wycliffe-USA/mpdx-get.git
  • Floow the npm script instructions. Specifically, npm start will start the development envrionemnt so you can preview it in your browser.
  • Edit content in the src directory. Note: The dist directory is not for editing and will be lost.

Usage

Basic Usage

After downloading, simply edit the HTML and CSS files included with src directory.

Advanced Usage

Clone the source files of the theme and navigate into the theme's root directory. Run npm install and then run npm start which will open up a preview of the template in your default browser, watch for changes to core template files, and live reload the browser when changes are saved. You can view the package.json file to see which scripts are included.

npm Scripts

  • npm run build builds the project - this builds assets, HTML, JS, and CSS into dist
  • npm run build:assets copies the files in the src/assets/ directory into dist
  • npm run build:pug compiles the Pug located in the src/pug/ directory into dist
  • npm run build:scripts brings the src/js/scripts.js file into dist
  • npm run build:scss compiles the SCSS files located in the src/scss/ directory into dist
  • npm run clean deletes the dist directory to prepare for rebuilding the project
  • npm run start:debug runs the project in debug mode
  • npm start or npm run start runs the project, launches a live preview in your default browser, and watches for changes made to files in src

Privacy Policy and Terms

MyPD terms and privacy policy pages are configured under src/pug/. The MD file is a markdown version of the page. Nothing is really done with this file, but is used for easy editing. The .pug files are used to make the html pages. Use an online converter to update and then convert the markdown into pug. The pug files also contain some site configuration for the menu and formatting.

Copyright 2013-2023 Start Bootstrap LLC. Code released under the MIT license.

About

Site code for get.mypd.wycliffe.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published