# HG changeset patch # User Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> # Date 1324251004 -3600 # Node ID b346fd32fc340182de146ea06a0b1549dbf790ba # Parent e67c4b18a16b34195894ea70886c6904a4f3b5aa prepare for publication, add sync info diff -r e67c4b18a16b -r b346fd32fc34 .hgignore --- a/.hgignore Fri Dec 16 20:10:31 2011 +0100 +++ b/.hgignore Mon Dec 19 00:30:04 2011 +0100 @@ -44,4 +44,6 @@ *.orig syntax: regexp -^tweetcast/nodejs/node_modules$ \ No newline at end of file +^tweetcast/nodejs/node_modules$ +syntax: regexp +^tweetcast/server-gevent/server_setup\.py$ \ No newline at end of file diff -r e67c4b18a16b -r b346fd32fc34 sbin/sync/sync_live --- a/sbin/sync/sync_live Fri Dec 16 20:10:31 2011 +0100 +++ b/sbin/sync/sync_live Mon Dec 19 00:30:04 2011 +0100 @@ -14,6 +14,7 @@ P config.php P .htaccess P limesurvey/*** +P demo/*** EOT fi diff -r e67c4b18a16b -r b346fd32fc34 sbin/sync/sync_tweetcast --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sbin/sync/sync_tweetcast Mon Dec 19 00:30:04 2011 +0100 @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +set -e +if [ -d ~/tmp/tweet_live_V$1 ]; then + rm -fr ~/tmp/tweet_live_V$1; +fi + +hg archive -r V$1 ~/tmp/tweet_live_V$1 + +#text2unix ~/tmp/tweet_live_V$1 + +if [ -d ~/tmp/tweet_live_V$1 ]; then + cat <Not Found'] session = Session() -WSGIServer(('', WEB_PORT), webserver).serve_forever() \ No newline at end of file + +if __name__ == "__main__": + WSGIServer(('', WEB_PORT), webserver).serve_forever() \ No newline at end of file