https://github.com/mochajs/old-mochajs-site
DEPRECATED: docs now at ->
https://github.com/mochajs/old-mochajs-site
Last synced: 5 months ago
JSON representation
DEPRECATED: docs now at ->
- Host: GitHub
- URL: https://github.com/mochajs/old-mochajs-site
- Owner: mochajs
- License: cc-by-4.0
- Archived: true
- Created: 2015-07-06T00:07:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-09T09:03:58.000Z (over 7 years ago)
- Last Synced: 2024-10-01T05:14:58.218Z (9 months ago)
- Language: JavaScript
- Homepage: https://github.com/mochajs/mocha
- Size: 2.88 MB
- Stars: 9
- Watchers: 16
- Forks: 43
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-CC-BY-4.0
Awesome Lists containing this project
README
# mochajs.org
*So you wanna build the site?*
[mochajs.org](https://mochajs.org) is built using [Jekyll](http://jekyllrb.com), the popular static site generator.
## Prerequisites
- Ruby
- RubyGems
- Bundler
- (Optional) Node.js v4.0.0 or greater## Development
1. Clone this repo
2. Execute `npm install` and follow the directions.> Mac users: You may need to install Xcode command line tools if `bundle install` fails. Execute `xcode-select --install` if so.
### Notes
- Node.js is only necessary if you need to rebuild the table of contents.
- To serve the site and rebuild as changes are made, execute `npm start serve`.
- To rebuild the site *once*, execute `npm start build`.
- To update the table of contents, execute: `npm start toc`. This will only alter `index.md`; it will not rebuild the site unless `npm start serve` is running in another process.
- The `_site` directory is where the generated static site lives (and is what you see at [mochajs.org](https://mochajs.org)). It is *not* under version control.
- `Gemfile.lock` is ignored as to always get the latest `github-pages` gem.## License
:copyright: 2016 [JS Foundation](https://js.foundation) and contributors.
Content licensed [CC-BY-4.0](https://raw.githubusercontent.com/mochajs/mochajs.github.io/master/LICENSE-CC-BY-4.0).
Code licensed [MIT](https://raw.githubusercontent.com/mochajs/mochajs.github.io/master/LICENSE-MIT).