Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Running brackets

Alexis Menard edited this page Jul 12, 2013 · 8 revisions

Currently Brackets with Crosswalk works only on Linux. We'll need three separate parts:

  • Crosswalk. This is our application that runs web content. We'll build the cmarcelo/brackets branch.

  • Brackets. Repository with HTML/JS files that implement the Brackets editor. We are using cmarcelo/test branch, because we need some modifications that are not available upstream.

  • Brackets-Crosswalk. The extension that adds features to Crosswalk so Brackets can run.

Steps

  1. Follow the regular steps to build Crosswalk. The remaining instructions will assume that Crosswalk base directory is ~/dev/crosswalk. That directory should contain an src subdirectory, and inside src, there's a xwalk directory.

  2. cd ~/dev/crosswalk/src/xwalk

  3. git remote add cmarcelo [email protected]:cmarcelo/xwalk.git

  4. git fetch cmarcelo

  5. git checkout -b brackets cmarcelo/brackets

  6. python gyp_xwalk

  7. cd ..

  8. ninja -C out/Release xwalk

  9. At this point there must be a ~/dev/crosswalk/src/out/Release/xwalk executable

  10. cd ~/dev

  11. git clone [email protected]:cmarcelo/brackets.git

  12. cd brackets

  13. git checkout -b test origin/test

  14. git submodule update --init

  15. cd ~/dev

  16. git clone [email protected]:otcshare/brackets-crosswalk.git

  17. cd brackets-crosswalk

  18. make

  19. There should be a ~/dev/brackets-crosswalk/brackets.so file after make runs.

  20. ./run-brackets.sh ~/dev/crosswalk/src/out/Release/xwalk ~/dev/brackets (you may need to install realpath package for it to work, at least on Ubuntu it's needed).

It should be possible to see a menu bar with native look and feel. Note that not all features are working at the moment.

Clone this wiki locally