couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "InstallingOnWindows" by JanLehnardt
Date Fri, 20 Jun 2008 11:17:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/InstallingOnWindows

------------------------------------------------------------------------------
+ = Install Apache CouchDB on Windows =
+ 
  By zhengji.li@t3gt.com
  
- ----------------------------------
- Install Apache CouchDB on Windows
- ----------------------------------
  Configuration file, installation scripts for setup CouchDB on Unix/Linux or
  alike OS are already there, which makes it totally automatic. But what for
  Windows? Nothing!
@@ -13, +12 @@

  
  Note: Below only CouchDB 0.8.0-incubating is covered.
  
- Step 0. Required Tools
+ == Step 0. Required Tools ==
     * Erlang/OTP
     * Win32 Compiler/Linker (such as Visual C++, required for step 2/3)
     * make tool (such as nmake from MS, optional for step 2/3)
@@ -21, +20 @@

  To make things FREE, we can use GNU GCC, GNU gmake, but I have not tested
  yet.
  
- Step 1. Prepare ICU/OpenSSL
+ == Step 1. Prepare ICU/OpenSSL ==
  
  Before move to step 2, downloading the latest ICU4C and OpenSSL from
  following sites respectively.
@@ -29, +28 @@

  http://www.icu-project.org
  http://www.openssl.org
  
- Step 2. Prepare JS Engine
+ == Step 2. Prepare JS Engine ==
  
  CouchDB can use multiple scripts to "map" a function to documents in a
  database. For now, a JavaScript engine is required.
@@ -53, +52 @@

     * CouchDB is extracted into:    E:\Program Files\erl5.6.3\lib\couchdb-0.8.0
     * Create directory:             E:\Program Files\erl5.6.3\lib\mochiweb-0.01\ebin
  
- Step 3. Build couch_erl_driver
+ == Step 3. Build couch_erl_driver ==
  
  From now on, we will go into CouchDB's source code.
  
@@ -64, +63 @@

  
  Rename the DLL to couch_erl_driver.dll if you like.
  
- Step 4. Build CouchDB & HTTP Server
+ == Step 4. Build CouchDB & HTTP Server ==
  
  Create a file named "Emakefile" in E:\Program Files\erl5.6.3\lib\couchdb-0.8.0\src. Its
content is:
  
@@ -84, +83 @@

  make:all().
  }}}
  
- Step 5. Configure CouchDB
+ == Step 5. Configure CouchDB ==
  
  In "E:\Program Files\erl5.6.3\lib\couchdb-0.8.0\etc\couchdb", you can see couch.ini.tpl.in.
Based on this template, let create couch.ini in E:\Program Files\erl5.6.3\bin.
  
@@ -124, +123 @@

  javascript=jsshell -f "E:/Program Files/erl5.6.3/lib/couchdb-0.8.0/share/server/main.js"
  }}}
  
- Step 6. Get Ready to Relax
+ == Step 6. Get Ready to Relax ==
  
  Have you finished downloading ICU4C and OpenSSL? If not, sorry, you have to
  wait.
@@ -139, +138 @@

  
  Finally, ensure that DbRootDir exists and LogFile can be created.
  
- Step 7. Time to Relax
+ == Step 7. Time to Relax ==
  
  Open a new erl. Type:
  
@@ -147, +146 @@

  
  Open http://localhost:5984, and time to relax.
  
- Step 8. Time to Fix
+ == Step 8. Time to Fix ==
  
  Open http://localhost:5984/_utils/, and try to create a database, then
  create some documents and enjoy.

Mime
View raw message