You will need to install the following dependencies before getting started. Once you've installed node and git via their respective sites you can install the rest of the dependencies using the terminal. You will need to install:
npm install -g yo
npm install -g gulp-cli
npm install -g bower
If you're not familiar with the terminal Codecademy have a really good interactive tutorial that will introduce you to the basics.
Once you have your dependencies installed you can download the BookingBug Yeoman generator via the terminal.
npm install -g generator-bookingbug
This will make the
yo bookingbug command available globally on your local development environment. Next navigate to the directory where you want to create the application and type
This will begin creating your booking widget's directory on your local computer. Before it starts, you will need to give the generator your Bookingbug company's information:
API URLcan be obtained from the API Settings under BookingBug Advanced Settings (Click the settings Cog in the top right corner, and Advance Settings in the left side column) e.g 12345 & https://uk.bookingbug.com/.
Once all of the above has been installed, navigate to the new folder that yeoman created (named after your project) and run
gulp to watch files for changes and to host your application locally on http://localhost:8000
You can see a screen-cast of this entire process here: