Skip to content

Commit

Permalink
cleaning some build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Jul 13, 2010
1 parent 164efbd commit 3f0ab38
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 18 deletions.
33 changes: 33 additions & 0 deletions buildscripts/docs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

import os
import markdown

def convertDir( source , dest ):

if not os.path.exists( dest ):
os.mkdir( dest )

for x in os.listdir( source + "/" ):
if not x.endswith( ".md" ):
continue

f = open( source + "/" + x , 'r' )
raw = f.read()
f.close()

html = markdown.markdown( raw )
print( x )

o = open( dest + "/" + x.replace( ".md" , ".html" ) , 'w' )
o.write( html )
o.close()



def convertMain():
convertDir( "docs" , "docs/html" )

if __name__ == "__main__":
convertMain()


3 changes: 3 additions & 0 deletions docs/building.debian.etch.ec2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

Building on debian etch on ec2
================

ami-f2f6159b

apt-get update
Expand Down
50 changes: 32 additions & 18 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@ Building MongoDB
================

SCONS
---------------
For detail information about building, please see [the wiki](http://www.mongodb.org/display/DOCS/Building).

For detail information about building, please see:
http://www.mongodb.org/display/DOCS/Building
If you want to build everything (mongod, mongo, tools, etc):

If you want to build everything (mongod, mongo, tools, etc):
$ scons .

$ scons .
If you only want to build the database:

If you only want to build the database:
$ scons

To install

$ scons
$ scons --prefix=/opt/mongo install

To install

$ scons --prefix=/opt/mongo install

Please note that prebuilt binaries are available on mongodb.org and may be the easier way to get started.
Please note that prebuilt binaries are available on [mongodb.org](http://www.mongodb.org/downloads) and may be the easier way to get started.

SCONS TARGETS
--------------

* mongod
* mongos
Expand All @@ -30,11 +31,13 @@ SCONS TARGETS
* all

COMPILER VERSIONS
--------------

Mongo has been tested with GCC 4.x and Visual Studio 2008 and 2010. Older versions
of GCC may not be happy.

WINDOWS
--------------

See http://www.mongodb.org/display/DOCS/Building+for+Windows

Expand All @@ -47,18 +50,29 @@ WINDOWS
Or download a prebuilt binary for Windows at www.mongodb.org.

UBUNTU
--------------

scons libboost-dev libpcre++-dev xulrunner-1.9.1-dev

scons libboost-dev libpcre++-dev xulrunner-1.9.1-dev

OS X
--------------

Try homebrew -- brew install mongodb.

Try homebrew -- brew install mongodb.

FREEBSD
--------------

Install the following ports:

* devel/boost
* devel/libexecinfo
* devel/pcre
* lang/spidermonkey

Install the following ports:

- devel/boost
- devel/libexecinfo
- devel/pcre
- lang/spidermonkey
Special Build Notes
--------------
* [debian etch on ec2](building.debian.etch.ec2.html)
* [open solaris on ec2](building.opensolaris.ec2.html)
3 changes: 3 additions & 0 deletions docs/building.opensolaris.ec2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

Building on open solaris on ec2
================

ami-4133d528


Expand Down

0 comments on commit 3f0ab38

Please sign in to comment.