readme.md 1.31 KB
Newer Older
1
![set-logo](https://ind.ie/assets/images/set/logo.svg)
2

3
Set is an unobtrusive and DRY template engine for Node.js and browsers.
4

Aral Balkan's avatar
Aral Balkan committed
5
Getting started 
6
---
7

8
Check out the [Hello Badge series of introductory articles](https://source.ind.ie/project/set-hello-badge-1-text-and-attribute/tree/master).
Oskar Kalbag's avatar
Oskar Kalbag committed
9 10 11 12

Installation
---

13
Install Set:
14

15
```bash
16
npm install indie-set
17
```
18

19
Change to the Set folder:
20

21
```bash
22
cd node_modules/indie-set/
23 24
```

Oskar Kalbag's avatar
Oskar Kalbag committed
25
Start the server:
26

27 28 29
```bash
npm start
```
30 31 32

Go to [http://localhost:3000](http://localhost:3000/) and play with the examples.

Oskar Kalbag's avatar
Oskar Kalbag committed
33

Aral Balkan's avatar
Aral Balkan committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Development
---

Set is written and developed in CoffeeScript.

To run the development server;

```bash
./dev
```

The source folder for development is /coffee.

The /js folder is the generated JavaScript folder. Defying convention for generated content, it is checked into the Git repository to make it easier to deploy to “serverless”/Heroku-ish systems like Dokku.


50 51 52
Credits
---

53
Set extends the excellent [Distal template engine](https://code.google.com/p/distal/) which is an implementation of the [Template Attribute Language](http://en.wikipedia.org/wiki/Template_Attribute_Language) (TAL) concept from [Zope](http://www.zope.org).
54 55 56 57 58


Copyright © Aral Balkan. 
Released with ♥ by [Ind.ie](https://ind.ie) under the MIT License. 
Portions released under the Apache License.