Labs/Bespin/DeveloperGuide/Setup: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 46: Line 46:
     paver create_db
     paver create_db


If you have some trouble on macos x like the error message: ImportError: No module named `xxx'
It's probably cause the server side is not completely installed so try
    cd ../bespinserver
    paver develop
    paver create_db


==Starting the development server==
==Starting the development server==
Line 57: Line 62:
   paver start
   paver start


This will start the Bespin server. You can now access the Bespin editor at http://localhost:4020/editor/ in you browser.
This will start the Bespin server. You can now access the Bespin editor at http://localhost:8080/ in you browser.


Have fun!
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>
Install additional SproutCore stuff within bespinclient using:
  paver install_sproutcore -g
Here's how you start up:
  paver server.abbot=1 start
You can now access the Bespin editor at http://localhost:4020/editor/ in you browser.


==More Documentation==
==More Documentation==


Documentation can be found in the docs directory of "bespinclient".
The documentation of the last release is [https://bespin.mozillalabs.com/docs/ here].


==Contributing to Bespin==
==Contributing to Bespin==
27

edits