webdriverio-boneyard / webdriver.io

Official website of the WebdriverIO project

Home Page:http://webdriver.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Official website of the WebdriverIO project

Requirements

To deploy the website to the server, you will need the following dependencies installed on the machine

Setup

First download the repository:

$ git clone git@github.com:webdriverio/webdriver.io.git

Next install dependencies:

$ npm install -g hexo-cli
$ npm install

Now build page with latest webdriverio docs

$ hexo wdio build

and generate the assets using Compass

$ hexo wdio compass

That's it. You can now run the server with:

$ hexo server

Deployment

To generate the markdown pages and static files run the following command:

$ hexo wdio build all
$ hexo deploy

It installs all dependencies, generates the markdown files from the current WebdriverIO version on NPM, renders all templates to static html files and generates and minifies assets. All necessary files should be located in a single directory called public. Last but not least let the domain point to this directory. That's it.

Trouble Shooting

When I start the server I get a 404 page Cannot GET /

Make sure you have the documentation content copied into the source directory. We keep all documentation within the main repository (github.com/webdriverio/webdriverio). Just run hexo wdio getDocs and restart the server.

About

Official website of the WebdriverIO project

http://webdriver.io


Languages

Language:CSS 63.4%Language:HTML 21.3%Language:JavaScript 15.1%Language:Ruby 0.2%