Labs/Bespin/DeveloperGuide/Setup: Difference between revisions

no edit summary
No edit summary
Line 19: Line 19:


'''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.''
'''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.''
For most people, that's all you'll need. If you need to hack on SproutCore, you'll also need:
Additionally, if you need to hack on SproutCore, you'll need
*Git
*Ruby 1.8 or 1.9 (1.9 is faster)
*The following RubyGems: <tt>rack jeweler json_pure extlib erubis thor</tt>
  <code>gem install rack jeweler json_pure extlib erubis thor</code>
Optionally, you may want the <tt>thin</tt> library, which will improve performance over the default WEBrick.
  <code>gem install thin</code>


==Getting Started==
==Getting Started==
Line 65: Line 49:
This will start the Bespin backend as well as the Sproutcore server. You can now access the Bespin editor at http://localhost:4020/editor/ in you browser.
This will start the Bespin backend as well as the Sproutcore server. You can now access the Bespin editor at http://localhost:4020/editor/ in you browser.


Have fun!
==Run SproutCore's build server==
If you are hacking on SproutCore, you'll want to run SproutCore's build server. Additionally, you'll need:
*Git
*Ruby 1.8 or 1.9 (1.9 is faster)
*The following RubyGems: <tt>rack jeweler json_pure extlib erubis thor</tt>
  <code>gem install rack jeweler json_pure extlib erubis thor</code>
Optionally, you may want the <tt>thin</tt> library, which will improve performance over the default WEBrick:
  <code>gem install thin</code>


If you are hacking on SproutCore, you'll want to run SproutCore's build server. Here's how you start up:
Install additional SproutCore stuff within bespinclient using:
 
  paver install_sproutcore -g
 
Here's how you start up:


   paver server.abbot=1 start
   paver server.abbot=1 start


Have fun!
You can now access the Bespin editor at http://localhost:4020/editor/ in you browser.


==More Documentation==
==More Documentation==
27

edits