Skip to content

contentascode/safetag

Repository files navigation

Travis npm GitHub license

SAFETAG Content as Code CLI tool

SAFETAG is a curricula, a methodology, and a framework for security auditors working with advocacy groups.

Command line tool to manage content workflows for the SAFETAG project. It uses the content as code framework.

Features

A quick walk through how the toolkit works and its basic features.

IMAGE ALT TEXT HERE

This toolkit currently enables users to:

  • Deploy and navigate a local version of the SAFETAG content
  • Customise SAFETAG content locally and preview changes including
    • Modifying the taxonomy
    • Modifying activities

The following videos present the safetag toolkit, demonstrate its use and goes through various key tasks in a how to format. You can consult the videos:

Install

Prerequisites:

  • node v6
  • npm v5.3.0
    • npm i -g npm
  • docsmith v0.5.3:
    • npm i -g docsmith
  • pandoc 1.19
    • brew intsall pandoc
    • apt-get intsall pandoc

You can now install safetag with:

npm i -g safetag

In order to open local urls with Atom by clicking the edit link in previews you need a handler for the atm:// local url scheme:

Usage

mkdir workspace
cd workspace
safetag init

This will prompt you with a few questions about configuration. The defaults should work in the majority of cases.

safetag start

This will start the preview server and watch your local files for changes. You can open your browser at http://localhost:8081 to browse the toolkit.

Links