Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

CrisisTextLine/La-Sape

Repository files navigation

Deprecated

This repo is no longer used and the assets used by the app repo have been moved into that repo in PR #6083.

La Sape

La Sape is Crisis Text Line's live pattern library/style guide. It is built on top of a SASS port of Semantic UI. The static files for displaying the pattern library are generated by Fabricator. They are hosted as a GitHub page here: http://crisistextline.github.io/La-Sape. For etymology, look here: https://en.wikipedia.org/wiki/La_Sape

Getting Started

Fabricator requires node.js, so make sure you have v0.10 or higher installed before proceeding.

Initializing the Submodule:

Since we are bringing in the SASS port of Semantic UI as a submodule, you will have to do the following in the repo directory:

$ git submodule init
$ git submodule update

After the initial initialization, you'll just need to run the update to keep the submodule up-to-date with the main repo.

Start the local development environment:

$ npm start

Checkout the main branch

  1. The main branch for this repo is 'gh-pages'
$ git checkout gh-pages

Compiling to static HTML

  1. When you are done making your changes, make sure to run the following, to compile the production version of the static HTML and asset files:
$ npm run build
  1. Once the build script has finished, commit to a new branch and submit a PR.

Fabricator builds both a static documentation site and optimized CSS and JS toolkit files. Static files are compiled in the dist directory. You can view the files here: http://crisistextline.github.io/La-Sape

About

CTL Pattern Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published