<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mariano Guerra's Log (Publicaciones sobre admin party)</title><link>http://marianoguerra.org/</link><description></description><atom:link href="http://marianoguerra.org/es/categories/admin-party.xml" rel="self" type="application/rss+xml"></atom:link><language>es</language><lastBuildDate>Mon, 18 Nov 2024 17:56:32 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>[EN] CouchApp II: fixing the admin party</title><link>http://marianoguerra.org/es/posts/201010couchapp-ii-fixing-admin-party/</link><dc:creator>Mariano Guerra</dc:creator><description>&lt;p&gt;now that we have our app running we can see a problem in the demo, we don't have authentication, and by default couchdb is in "admin party" mode, read more about the admin party in &lt;a href="http://guide.couchdb.org/draft/security.html#party"&gt;Couchdb the definitive guide&lt;/a&gt;&lt;/p&gt;&lt;br&gt;&lt;p&gt;to fix  this we need to go to futon (the admin panel of couchdb) and set up the first admin&lt;/p&gt;&lt;br&gt;&lt;p&gt;go to futon pointing your browser to http://localhost:5984/_utils/index.html&lt;/p&gt;&lt;br&gt;&lt;p&gt;at the bottom right corner of the page you should read something like "Welcome to Admin Party! Everyone is admin. Fix this", click on the link and set the first admin&lt;/p&gt;&lt;br&gt;&lt;p&gt;I will create the admin as "wariano" and password "secret", whenever you see that change for your user and password&lt;/p&gt;&lt;br&gt;&lt;p&gt;if we try to push our couchapp again we will get an unauthorized error, that's because we need to provide credentials to modify the database now, to do this we will edit the .couchapprc again to add the user and password&lt;/p&gt;&lt;br&gt;&lt;p&gt;edit the url from&lt;/p&gt;&lt;br&gt;&lt;pre&gt;http://localhost:5984/datos&lt;br&gt;&lt;/pre&gt;&lt;br&gt;&lt;p&gt;to&lt;/p&gt;&lt;br&gt;&lt;pre&gt;http://wariano:secret@localhost:5984/datos&lt;br&gt;&lt;/pre&gt;&lt;br&gt;&lt;p&gt;and try pushing again it should work now, try the demo again using your user and password&lt;/p&gt;</description><guid>http://marianoguerra.org/es/posts/201010couchapp-ii-fixing-admin-party/</guid><pubDate>Fri, 22 Oct 2010 14:45:00 GMT</pubDate></item></channel></rss>