Labs/Bespin/DeveloperGuide/Setup: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
Thanks for downloading the code to the Bespin project. You can easily get Bespin's Python server running on your local Mac or Linux machine (see note about Windows below). | Thanks for downloading the code to the Bespin project. You can easily get Bespin's Python server running on your local Mac or Linux machine (see note about Windows below). | ||
== | ==Prerequisites== | ||
You will need the following installed on your system to get Bespin up and running: | |||
* Mercurial | |||
* Git | |||
* Python 2.5 or 2.6 | |||
'''NOTE FOR LINUX USERS:''' ''If you are running on a Linux system, you will likely need a "python-dev" (on Ubuntu; possibly "python-devel" elsewhere) package installed, if you do not already have it.'' | |||
'''NOTE FOR MAC USERS:''' ''You will need Xcode installed.'' | |||
to | '''NOTE FOR WINDOWS USERS:''' ''Most Bespin developers are using unix-like platforms. Bespin's server should be able to run on Windows, though. You'll need a C compiler, and you can use Microsoft's free [[http://www.microsoft.com/Express/VC/ Visual C++]] compiler. As an alternative, you can use [[http://www.cygwin.com/ Cygwin]] or [[http://www.mingw.org/ MinGW]] to have a unix-like environment on your Windows system.'' | ||
==Getting Started== | |||
Run: | |||
hg clone http://hg.mozilla.org/labs/bespinclient | |||
hg clone http://hg.mozilla.org/labs/bespinserver | |||
cd bespinclient | |||
<code> | This will get the Bespin client and Python Bespin server code checked out. The <code>bespinclient/</code> directory is the "main" directory that you'll use. (See the [[Labs/Bespin/DeveloperGuide/UsingMercurial|Using Mercurial]] article for more detailed instructions on using Mercurial.) | ||
To set up Bespin for the first time, run: | |||
python bootstrap.py --no-site-packages | |||
to get the environment set up. This is built around [[http://pypi.python.org/pypi/virtualenv virtualenv]]. | |||
After running the bootstrap script, please follow the additional instructions that are displayed on the screen. | |||
==More Documentation== | ==More Documentation== | ||
Documentation | Documentation can be found in the docs directory of "bespinclient". | ||
==Contributing to Bespin== | ==Contributing to Bespin== | ||
Line 59: | Line 41: | ||
For details see: | For details see: | ||
:[[Labs/Bespin/Contributing]] | :[[Labs/Bespin/Contributing]] | ||
Revision as of 14:45, 27 October 2009
Thanks for downloading the code to the Bespin project. You can easily get Bespin's Python server running on your local Mac or Linux machine (see note about Windows below).
Prerequisites
You will need the following installed on your system to get Bespin up and running:
- Mercurial
- Git
- Python 2.5 or 2.6
NOTE FOR LINUX USERS: If you are running on a Linux system, you will likely need a "python-dev" (on Ubuntu; possibly "python-devel" elsewhere) package installed, if you do not already have it.
NOTE FOR MAC USERS: You will need Xcode installed.
NOTE FOR WINDOWS USERS: Most Bespin developers are using unix-like platforms. Bespin's server should be able to run on Windows, though. You'll need a C compiler, and you can use Microsoft's free [Visual C++] compiler. As an alternative, you can use [Cygwin] or [MinGW] to have a unix-like environment on your Windows system.
Getting Started
Run:
hg clone http://hg.mozilla.org/labs/bespinclient hg clone http://hg.mozilla.org/labs/bespinserver cd bespinclient
This will get the Bespin client and Python Bespin server code checked out. The bespinclient/
directory is the "main" directory that you'll use. (See the Using Mercurial article for more detailed instructions on using Mercurial.)
To set up Bespin for the first time, run:
python bootstrap.py --no-site-packages
to get the environment set up. This is built around [virtualenv].
After running the bootstrap script, please follow the additional instructions that are displayed on the screen.
More Documentation
Documentation can be found in the docs directory of "bespinclient".
Contributing to Bespin
For details see: