Skip to content

Instantly share code, notes, and snippets.

@ktiedt
Created June 21, 2011 06:39
Show Gist options
  • Save ktiedt/1037355 to your computer and use it in GitHub Desktop.
Save ktiedt/1037355 to your computer and use it in GitHub Desktop.
couchapp -v logs
proton:TweetEater ktiedt$ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/couchapp -v push . http://<username>:<password>@localhost:5984/qrchat
2011-06-21 01:36:48 [DEBUG] Resource uri: http://<username>:<password>@localhost:5984/qrchat
2011-06-21 01:36:48 [DEBUG] Request: HEAD None
2011-06-21 01:36:48 [DEBUG] Headers: {'Accept': 'application/json', 'User-Agent': 'couchapp/0.8.1'}
2011-06-21 01:36:48 [DEBUG] Params: {}
2011-06-21 01:36:48 [DEBUG] Start to perform request: localhost:5984 HEAD /qrchat
2011-06-21 01:36:48 [DEBUG] create new connection
2011-06-21 01:36:48 [DEBUG] Send headers: ['HEAD /qrchat HTTP/1.1\r\n', 'Host: localhost:5984\r\n', 'User-Agent: restkit/3.2.3\r\n', 'Accept-Encoding: identity\r\n', 'Accept: application/json\r\n', 'Authorization: Basic a3RpZWR0OndhcnBlZDgx\r\n']
2011-06-21 01:36:48 [DEBUG] Start to parse response
2011-06-21 01:36:48 [DEBUG] Got response: 200 OK
2011-06-21 01:36:48 [DEBUG] headers: [MultiDict([('Server', 'CouchDB/1.1.1 (Erlang OTP/R14B)'), ('Date', 'Tue, 21 Jun 2011 06:36:48 GMT'), ('Content-Type', 'application/json'), ('Content-Length', '222'), ('Cache-Control', 'must-revalidate')])]
2011-06-21 01:36:48 [DEBUG] release connection
2011-06-21 01:36:48 [DEBUG] return response class
2011-06-21 01:36:48 [DEBUG] push app.js
2011-06-21 01:36:48 [DEBUG] push README.md
2011-06-21 01:36:48 [DEBUG] Resource uri: http://<username>:<password>@localhost:5984/qrchat
2011-06-21 01:36:48 [DEBUG] Request: GET _design/TweetEater
2011-06-21 01:36:48 [DEBUG] Headers: {'Accept': 'application/json', 'User-Agent': 'couchapp/0.8.1'}
2011-06-21 01:36:48 [DEBUG] Params: {}
2011-06-21 01:36:48 [DEBUG] Start to perform request: localhost:5984 GET /qrchat/_design/TweetEater
2011-06-21 01:36:48 [DEBUG] Send headers: ['GET /qrchat/_design/TweetEater HTTP/1.1\r\n', 'Host: localhost:5984\r\n', 'User-Agent: restkit/3.2.3\r\n', 'Accept-Encoding: identity\r\n', 'Accept: application/json\r\n', 'Authorization: Basic a3RpZWR0OndhcnBlZDgx\r\n']
2011-06-21 01:36:48 [DEBUG] Start to parse response
2011-06-21 01:36:48 [DEBUG] Got response: 200 OK
2011-06-21 01:36:48 [DEBUG] headers: [MultiDict([('Server', 'CouchDB/1.1.1 (Erlang OTP/R14B)'), ('Etag', '"118-804f663daffe312d2a27276618059ee0"'), ('Date', 'Tue, 21 Jun 2011 06:36:48 GMT'), ('Content-Type', 'application/json'), ('Content-Length', '218602'), ('Cache-Control', 'must-revalidate')])]
2011-06-21 01:36:48 [DEBUG] return response class
2011-06-21 01:36:48 [DEBUG] release connection
2011-06-21 01:36:48 [DEBUG] /Users/<username>/repos/TweetEater/vendor don't exist
2011-06-21 01:36:48 [DEBUG] /Users/<username>/repos/TweetEater/vendor don't exist
2011-06-21 01:36:48 [DEBUG] Resource uri: http://<username>:<password>@localhost:5984/qrchat
2011-06-21 01:36:48 [DEBUG] Request: PUT _design/TweetEater
2011-06-21 01:36:48 [DEBUG] Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'User-Agent': 'couchapp/0.8.1'}
2011-06-21 01:36:48 [DEBUG] Params: {}
2011-06-21 01:36:48 [DEBUG] Start to perform request: localhost:5984 PUT /qrchat/_design/TweetEater
2011-06-21 01:36:48 [DEBUG] Send headers: ['PUT /qrchat/_design/TweetEater HTTP/1.1\r\n', 'Host: localhost:5984\r\n', 'User-Agent: restkit/3.2.3\r\n', 'Accept-Encoding: identity\r\n', 'Accept: application/json\r\n', 'Content-Length: 229770\r\n', 'Content-Type: application/json\r\n', 'Authorization: Basic a3RpZWR0OndhcnBlZDgx\r\n']
2011-06-21 01:36:48 [DEBUG] send body (chunked: False)
2011-06-21 01:36:48 [DEBUG] Start to parse response
2011-06-21 01:36:48 [DEBUG] Got response: 201 Created
2011-06-21 01:36:48 [DEBUG] headers: [MultiDict([('Server', 'CouchDB/1.1.1 (Erlang OTP/R14B)'), ('Location', 'http://localhost:5984/qrchat/_design/TweetEater'), ('Etag', '"119-5ab2953cc3b8f597955401afa44762fb"'), ('Date', 'Tue, 21 Jun 2011 06:36:48 GMT'), ('Content-Type', 'application/json'), ('Content-Length', '83'), ('Cache-Control', 'must-revalidate')])]
2011-06-21 01:36:48 [DEBUG] return response class
2011-06-21 01:36:48 [DEBUG] release connection
2011-06-21 01:36:48 [INFO] Visit your CouchApp here:
http://localhost:5984/qrchat/_design/TweetEater/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment