Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
swizzlestick is a node.js webapp for creating test environments for ad tags.
JavaScript CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
models
plugins/swizzle-chrome
static
views
.gitignore
LICENSE-MIT
Procfile
package.json
readme.md
server.js
templates.json

readme.md

swizzlestick

swizzlestick is a node.js webapp for creating disposable test pages ("swizzles") for ad tags.

swizzlestick is configured to be deployed as a Heroku webapp (see Procfile).

Requirements

A mongodb server to store swizzles, recent version of node.js (tested on >= 0.8).

Installation

In the swizzlestick directory, run this command to install dependencies:

  $ npm install

You'll also need to have a MongoDB server running.

Installing Mongo for Local Development (Mac OS X, using brew)

  $ brew install mongo

To start MongoDB, run this command:

  $ sudo mongod &

Starting the server

  $ node server

Configuration

swizzlestick configuration is managed through enviroment variables. Both are only used by Heroku.

  • MONGOHQ_URL The URL to a MongoHQ database to store swizzles.
  • PORT The port to start the server on. (default 8081)

Extra! Chrome Plugin

There's a Chrome plugin available in the plugins directory. It allows you to create a swizzle by selecting text in any editable field in Chrome and right clicking.

You can install the plugin by dragging the *.crx extension onto the chrome://extensions page.

License

MIT

Something went wrong with that request. Please try again.