Commits

Luciano Ramalho committed b8e7372

starting the lilacs CouchApp

Comments (0)

Files changed (5)

+# use glob syntax.
+syntax: glob
+
+.couchapprc

lilacs/.couchappignore

+[
+  // filenames matching these regexps will not be pushed to the database
+  // uncomment to activate; separate entries with ","
+  // ".*~$"
+  // ".*\\.swp$"
+  // ".*\\.bak$"
+  "^README$"
+]

lilacs/.couchapprc-SAMPLE

+{
+  "env" : {
+    "default" : {
+      "db" : "http://localhost:5984/lilcouch"
+    },
+    "prod" : {
+      "db" : "http://admin:password@ramalho.couchone.com/lilcouch"
+    }
+  }
+}
+This CouchApp was created with couchapp version 0.7.5, using the
+command:
+
+  $ couchapp startapp lilacs
+
+Which created the lilacs/ directory with the following contents:
+
+drwxr-xr-x 7 luciano luciano 4096 2011-02-17 01:39 .
+drwxr-xr-x 4 luciano luciano 4096 2011-02-17 01:39 ..
+drwxr-xr-x 2 luciano luciano 4096 2011-02-17 01:39 _attachments
+-rw-r--r-- 1 luciano luciano  176 2011-02-17 01:39 .couchappignore
+-rw-r--r-- 1 luciano luciano    2 2011-02-17 01:39 .couchapprc
+-rw-r--r-- 1 luciano luciano   14 2011-02-17 01:39 _id
+drwxr-xr-x 2 luciano luciano 4096 2011-02-17 01:39 lists
+drwxr-xr-x 2 luciano luciano 4096 2011-02-17 01:39 shows
+drwxr-xr-x 2 luciano luciano 4096 2011-02-17 01:39 updates
+drwxr-xr-x 2 luciano luciano 4096 2011-02-17 01:39 views
+
+I then:
+
+- added the "^README$" regex to .couchappignore;
+- added the .couchapprc-SAMPLE file;
+- created an .hgignore file with the .couchapprc glob pattern;
+- customized the originally empty .couchaprc;
+- created this READEME;
+- tested the configuration by pushing to a local CouchDB;
+- committed everything but .couchapprc to a Mercurial repository,
+  (which ignores empty directories).
+_design/lilacs