edu.emory.build-system
v1.0.7
Published
This is the build system for Emory University CPA websites
Downloads
9
Readme
edu.emory.build-system
Build System for Emory University CPA Websites
These instructions will get you started using the Emory University CPA Website Build System.
Prerequisites
Be sure to have the following installed:
Getting Started
- Download this project to your local machine.
- Make a new repository on the EmoryCPA github account.
- Add yourself as a collaborator: Settings > Collaborators > [email protected]
- Check your email for the collaboration invite and accept.
- Open the project you downloaded and Git Bash inside the base folder.
- Follow the instructions to initialize the new repository.
echo "# new.project.name" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/emorycpa/new.project.name.git
git push -u origin master
- Open your project in Visual Studio Code.
- Go to the Source Control tab and stage, commit, and push all the files to your new repository.
- Update README.md for the new repository.
Navigating the template
All development, code, and markup modification should occur inside the src/
directory. Source files for vector and raster graphics, PDFs, and other guides should be placed inside the design-documents/
directory.
Inside the src/
directory:
Static Resources
fonts/
- Webfontshtml/
- HTMLimages/
- Images & Graphicsjs/
- Javascript
Dynamic Resources
less/
- Less (CSS)mustache/
- Mustache (HTML)njk/
- Nunjucks (HTML)scss/
- SCSS (CSS)ts/
- TypeScript (Javascript)
Build Defaults
- Static resrouces include javascript, images, and fonts
- SCSS for styling
- Nunjecks for templating
Understanding the templating conventions ()
Inside the njk/
directory:
pages/
- All generic page layouts and typestemplates/
- Small bits of markup that are put together to form entire pages
Inside the mustache/
:
pages/
- All generic page layouts and types. Note: each *.mustache file requires a *.json for page data.partials/
- Small bits of markup that are put together to form entire pages
Installing node_modules and launching Local Host
If you have not install Gulp.js Command Line Tools
npm install gulp-cli -g
Once you have cloned this repository, open the command line and run:
npm i
Then once all Node modules are installed, run:
gulp
This will launch a page in your default browser on localhost:3000.
Configuration Options
See sample build JSON with comment for options build-config-documentation.md
Authors
- Bryce Roberts - Initialization - [email protected]
- Kayla Pratt - Front-end templatizing - kaylapratt.com
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details