Generates the documentation for the protractor website.
npm run compile_to_es5
cd website/
npm install
npm run build
Then copy all the files from the build
directory to the gh-pages branch.
If you want to run the website locally then run the following command:
npm start
And point your browser to: localhost:8080
The website includes 3 types of tests:
- minijasminenode unit tests for the dgeni modules.
- karma unit tests for the angular controllers.
- protractor for e2e testing.
The following command will start a server on localhost:8080. The server is used to run the protractor tests.
npm start
npm test
./node_modules/.bin/minijasminenode docgen/spec/*
./node_modules/karma/bin/karma start
../bin/protractor