pure-site

The website for Pure CSS

  • 所有者: pure-css/pure-site
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Pure CSS Website

Build Status
Dependency Status

The website which showcases Pure CSS.

Running Locally

This is a node.js site which uses Express.js, which means it's very easy to get
running locally.

$ npm install
$ npm start

To run the health checks:

$ grunt health.check

By default, it will run the tests using the local instance (running on port 5000)
But you can also specify a remote host:

$ grunt health.check --host=foo

Auto-Building of Browser Assets

This site uses an integrated Broccoli build process. When the site is
running in development mode, Broccoli will be watching everything in the
public/ directory and rebuild when something changes.

This makes it much easier to work on browser-side features without needed to
manually kick off the build process or restart the server.

Running with Pure Served Locally

Since this website dogfoods pure it's a great testbed to try out local
changes you're making to Pure. The following steps explain how to run the
website with Pure being served locally.

Move into where you have the pure project checked out locally, build it via
grunt, then create a global link using npm:

$ cd pure/
$ grunt
$ npm link

Now you'll need to move into where you have this project checked out locally,
install the website's npm dependencies (if you haven't done so already),
link pure in pure-site using npm, then start up the server with the
--pure-local argument:

$ cd ../pure-site/
$ npm link purecss
$ node server.js --pure-local

Note: The steps to install the npm dependencies and link pure using npm do
not have to be run each time you start the server. Also, you can leave the
server running and rebuild pure via grunt and you'll see the changes in your
browser after refreshing!

Running in Production

To run the site in production mode you must first run the build via Grunt, and
set the NODE_ENV environment variable to production:

$ grunt
$ NODE_ENV=production node server

License

This software is free to use under the Yahoo! Inc. BSD license.
See the LICENSE file for license text and copyright information.

主要指標

概覽
名稱與所有者pure-css/pure-site
主編程語言HTML
編程語言JavaScript (語言數: 3)
平台
許可證Other
所有者活动
創建於2013-02-22 19:48:27
推送於2020-04-30 16:32:36
最后一次提交2020-04-03 06:30:50
發布數22
最新版本名稱v1.18.11 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數260
關注者數33
派生數142
提交數1.5k
已啟用問題?
問題數0
打開的問題數0
拉請求數227
打開的拉請求數0
關閉的拉請求數84
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?