This site uses a bootstrap theme (https://startbootstrap.com/theme/new-age/) created by Start Bootstrap.
To begin using this site, choose one of the following options to get started:
- Clone the repo:
git clone git@github.com:Wycliffe-USA/mpdx-get.git - Floow the npm script instructions. Specifically,
npm startwill 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.
After downloading, simply edit the HTML and CSS files included with src directory.
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 run buildbuilds the project - this builds assets, HTML, JS, and CSS intodistnpm run build:assetscopies the files in thesrc/assets/directory intodistnpm run build:pugcompiles the Pug located in thesrc/pug/directory intodistnpm run build:scriptsbrings thesrc/js/scripts.jsfile intodistnpm run build:scsscompiles the SCSS files located in thesrc/scss/directory intodistnpm run cleandeletes thedistdirectory to prepare for rebuilding the projectnpm run start:debugruns the project in debug modenpm startornpm run startruns the project, launches a live preview in your default browser, and watches for changes made to files insrc
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.