A small development environment to make it easier and more convinient to create and test content blocks or full templates that use Liquid and should be used within Braze. In order to achieve this, there's two stages of testing.
- Rendering the Liquid code locally using Brazejs.
- Then sending it to Braze rendering API to get the most accurate outcome.
- Clone this repo to your machine
- Navigate into the repo directory and run
npm install
- Run
npm link
to make it globally available on your local machine - Navigate into the directory, where the Braze related templates and content blocks are managed
- Use the
braze-template-cli
command from terminal in that folder
This is where every variable and object should be defined that will be used in the repository.