Install nvm, then install node v10.24.1 (npm v6.14.12)
nvm install 10.24.1
nvm use 10.24.1
Install NodeJS dependencies
npm install
npm install gulp-cli bower -g
Install Bower dependencies
bower install
Build
gulp
All files will be built and copied to the dist
directory
- Create a new folder under
src/publications/<type>
wheretype
is one ofarticles
,photoessays
, orquizzes
- Create an
img
directory to hold images related to the article. Optimize image download sizes by resizing them appropriately for the typical range of screen sizes and using TinyJPG to intelligently compress them. - Create an
index.html
file by copying one into your newly created directory from the appropriatesrc/templates/<type>
directory, or by copying an existing publication'sindex.html
page.
TESTING