项目作者: american-geo

项目描述 :
FOCUS on Geography
高级语言: HTML
项目地址: git://github.com/american-geo/focus.git
创建时间: 2018-06-25T17:32:05Z
项目社区:https://github.com/american-geo/focus

开源协议:MIT License

下载


FOCUS on Geography

Install nvm, then install node v10.24.1 (npm v6.14.12)

  1. nvm install 10.24.1
  2. nvm use 10.24.1

Install NodeJS dependencies

  1. npm install
  2. npm install gulp-cli bower -g

Install Bower dependencies

  1. bower install

Build

  1. gulp

All files will be built and copied to the dist directory

Adding a New Feature Article, Photo Essay, or GeoQuiz

  1. Create a new folder under src/publications/<type> where type is one of articles, photoessays, or quizzes
  2. 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.
  3. Create an index.html file by copying one into your newly created directory from the appropriate src/templates/<type> directory, or by copying an existing publication’s index.html page.

TESTING