Skip to content

Introduction

Starting

You will need to run the build.py python file which monitors file changes, and when that happens it automatically rebulds the cubed base tag. This can be done from the Vagrant box or just running python locally - with the installed packages.

python build.py

Tagging Docs

Unit testing

The Cubed Tag project doesn't need a Vagrant box to run. However, We need a Vagrant box to run Unit Testing. Because we can't set cookies on a local HTML file when you run on the browser. So we created an Nginx server on a Vagrant box to set the Cookies when you run unit testing.

Vagrant Setup

Pull the latest of the project you want. Open up a Window Command Prompt window in the root directory - this should be where the Vagrant, the run the Vagrant command:

  1. Once you have the repo pulled locally you can start the server by running:
    vagrant up
  2. To run unit testing, use 8080 port and unit test file with .html extension:
    http://localhost:8080/test/test.html
    http://localhost:8080/test/test-visit-split.html