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 [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.
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 build
builds the project - this builds assets, HTML, JS, and CSS intodist
npm run build:assets
copies the files in thesrc/assets/
directory intodist
npm run build:pug
compiles the Pug located in thesrc/pug/
directory intodist
npm run build:scripts
brings thesrc/js/scripts.js
file intodist
npm run build:scss
compiles the SCSS files located in thesrc/scss/
directory intodist
npm run clean
deletes thedist
directory to prepare for rebuilding the projectnpm run start:debug
runs the project in debug modenpm start
ornpm run start
runs 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.