mirror of https://github.com/Kozea/pygal.git
Python to generate nice looking SVG graph
http://pygal.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
331 B
14 lines
331 B
/* |
|
* Simple connect server for phantom.js |
|
* Adapted from Modernizr |
|
*/ |
|
|
|
var connect = require('connect') |
|
, http = require('http') |
|
, fs = require('fs') |
|
, app = connect() |
|
.use(connect.static(__dirname + '/../../')); |
|
|
|
http.createServer(app).listen(3000); |
|
|
|
fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8') |