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

Running brackets

cmarcelo edited this page Jul 15, 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.

  • 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 external 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/

  3. python xwalk/gyp_xwalk

  4. ninja -C out/Release xwalk

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

  6. cd ~/dev

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

  8. cd brackets

  9. git checkout -b test origin/test

  10. git submodule update --init

  11. cd ~/dev

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

  13. cd brackets-crosswalk

  14. make

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

  16. ./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).

Note that not all features are working at the moment. It should be possible to see dialogs (Open File, Open Folder, Save As, etc) with native look and feel.

Clone this wiki locally