-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
old build system based on grunt and angularjs is too much. harp is much simpler, and use the same jade based site generation - upgrade to bootstrap3 - fix the urls - add some screen shots
- Loading branch information
Showing
83 changed files
with
262 additions
and
29,607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
node_modules | ||
temp | ||
built | ||
dist | ||
dist |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,17 @@ | ||
# angular-www [![Dependency Status](https://david-dm.org/buildbot/buildbot-website.svg)](https://david-dm.org/buildbot/buildbot-website) [![devDependency Status](https://david-dm.org/buildbot/buildbot-website/dev-status.svg)](https://david-dm.org/buildbot/buildbot-website#info=devDependencies) | ||
[Buildbot marketing website](https://buildbot.net) built with CoffeeScript and AngularJS. | ||
[Buildbot marketing website](https://buildbot.net) built [harp](http://harpjs.com/) | ||
|
||
## Building | ||
|
||
This site uses `grunt` for building. | ||
You can install that locally with | ||
|
||
npm install | ||
|
||
which installs grunt in `./node_modules/.bin`. | ||
You can either add that to your PATH, or just use an explicit path, to run grunt. | ||
|
||
To build quickly for local use during development (without minifying and concatenating): | ||
harp is a simple static website generator built on [nodejs](https://nodejs.org/en/) | ||
|
||
grunt | ||
You will shall install nodejs and [yarn](https://yarnpkg.com/lang/en/) | ||
|
||
To watch for file changes and automatically recompile on changes: | ||
|
||
grunt dev | ||
|
||
To build a fully minimized, concatenated version: | ||
|
||
grunt prod | ||
## Building | ||
|
||
In any case, you'll find the resulting site in the `built/` directory, starting with `index.html`. | ||
It's safe to point a web server directly at this directory. | ||
yarn install | ||
|
||
## History | ||
## develop with live reload | ||
|
||
This site is based on AngularFun. | ||
Compared to AngularFun, we: | ||
yarn run dev | ||
|
||
* drop the original nodejs server code | ||
* change build directory to "built" instead of "dist" which is already used by python setuptools. | ||
* use jade as a template's syntax sugar | ||
## compile the static website | ||
|
||
yarn run compile |
Oops, something went wrong.