- Clone the repository
git clone https://github.com/DaeronAlagos/battlescribe-stylesheets-wh40k.git
-
Create your Army Roster in Battlescribe
-
Export in Battlescribe
File -> Export roster...
-
Browse for the XSL Stylesheet from the newly created battlescribe-stylesheets-wh40k/dist folder
-
Browse for the Destination File and select a folder where you want to save the file. Name the file; eg. myarmy.html (note the .html here is important).
-
Click 'Export' then 'Done'.
-
Open the html file in your web browser and print as required.
-
The build process requires Nodejs. Please follow the instructions to install Node LTS on the official website
-
Change to the project folder
cd battlescribe-stylesheets-wh40k
-
Install the required NPM modules
npm install
-
Create a roster in Battlescribe and save it as a .ros file, to the battlescribe-stylesheets-wh40k/data folder
-
Rename your roster file to have the .xml file extension
-
Build your first distribution file
gulp build --bsfile YOUR_FILE.xml
-
Run gulp with browser-sync
gulp --bsfile YOUR_FILE.xml
-
Edit the files in the src folder and see your changes in the web browser that opened when you started gulp