Skip to content

Commit

Permalink
switch the site generation to harp
Browse files Browse the repository at this point in the history
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
tardyp committed Mar 16, 2017
1 parent 5cee733 commit d3170eb
Show file tree
Hide file tree
Showing 83 changed files with 262 additions and 29,607 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
node_modules
temp
built
dist
dist
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

38 changes: 9 additions & 29 deletions README.md
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
Loading

0 comments on commit d3170eb

Please sign in to comment.