Comment installer le tweetwall de la cantine ?
C'est parti:
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
diff --git a/test/integration_test.js b/test/integration_test.js | |
index f6abc36..f159a9c 100644 | |
--- a/test/integration_test.js | |
+++ b/test/integration_test.js | |
@@ -18,15 +18,16 @@ const TEST_KINTO_SERVER = "http://0.0.0.0:8888/v1"; | |
const PSERVE_EXECUTABLE = process.env.KINTO_PSERVE_EXECUTABLE || "pserve"; | |
const KINTO_CONFIG = __dirname + "/kinto.ini"; | |
-describe("Integration tests", () => { | |
+describe.only("Integration tests", () => { |
diff --git a/test/integration_test.js b/test/integration_test.js | |
index f6abc36..7d0aa43 100644 | |
--- a/test/integration_test.js | |
+++ b/test/integration_test.js | |
@@ -18,11 +18,12 @@ const TEST_KINTO_SERVER = "http://0.0.0.0:8888/v1"; | |
const PSERVE_EXECUTABLE = process.env.KINTO_PSERVE_EXECUTABLE || "pserve"; | |
const KINTO_CONFIG = __dirname + "/kinto.ini"; | |
-describe("Integration tests", () => { | |
+describe.only("Integration tests", () => { |
class HawkAuth(AuthBase): | |
def __init__(self, hawk_credentials): | |
self.hawk_credentials = hawk_credentials | |
def __call__(self, r): | |
content_type = r.headers.get('Content-Type', '') | |
sender = mohawk.Sender( | |
self.hawk_credentials, | |
r.url, | |
r.method, |
Comment installer le tweetwall de la cantine ?
C'est parti:
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
#!/bin/bash | |
host=$1 | |
redis-cli -h $host info | |
echo -e "========\n\n" | |
for key in "spurl" "callurl" "userUrls" "call" "userCalls" "callstate" "hawkuser" "userid" "hawk" "oauth.token" "oauth.state" | |
do | |
echo -n "Number of keys for $key " |
// Redirects all /c/{token} and /{token} to the index page, | |
// trying to load the static files if they exist. | |
server { | |
listen 8001; | |
server_name loop.lolnet.org; | |
root /home/www/loop.lolnet.org/; | |
location ~ ^/(c/)?(.*)$ { |
Change the configuration in firefox (with about:config):
services.sync.tokenServerURI: http://localhost:5000/token/1.0/sync/1.5
See the pull request to have the packages for nix.
The nix commands are:
$ nix-build ./default.nix -A pythonPackages.syncserver -o syncserver
$ nix-build ./default.nix -A pythonPackages.pasteScript -o paste
echo "powersave" | sudo tee /sys/bus/cpu/devices/cpu*/cpufreq/scaling_governor |
var hmac = require('../loop/hmac'); | |
var conf = require('../loop/config').conf; | |
var async = require('async'); | |
var redis = require("redis"); | |
var storage = conf.get("storage"); | |
var hawkIdSecret = conf.get("hawkIdSecret"); | |
if (storage.engine === "redis") { |