Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

webdriverio-boneyard/webdriver.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.