浏览代码

Merge pull request #1020 from herby/contributing-subprojects

Parts of repo in contributing file, integrating external into dev index.html
Nicolas Petton 10 年之前
父节点
当前提交
ac76ebf71e
共有 2 个文件被更改,包括 13 次插入2 次删除
  1. 11 0
      CONTRIBUTING.md
  2. 2 2
      internal/index.html

+ 11 - 0
CONTRIBUTING.md

@@ -59,6 +59,16 @@ and check if you have all development dependencies installed (as indicated in [G
 Setup your Amber clone
 ----------------------
 
+Amber repository contains more parts:
+
+1. Amber language itself (in root directory),
+1. Amber development helpers (in `external/amber-dev`),
+1. Amber CLI tool (in `external/amber-cli`).
+1. In `internal` directory, there are files that are not part of Amber,
+  but are important to developers wanting to contribute to Amber.
+
+To get your clone, follow this list:
+
 1. Create a fork of the repository on GitHub
 2. Clone the repository
 3. Run ```npm install``` to install dependencies listed in package.json (See [here](https://www.npmjs.org/doc/cli/npm-install.html for more info) for more info)
@@ -69,6 +79,7 @@ Setup your Amber clone
 
 Now you should be able to commit changes to your computer.
 
+You should open `http://localhost:4000/internal/` to start work on Amber.
 
 Creating a Pull Request
 -----------------------

+ 2 - 2
internal/index.html

@@ -15,10 +15,10 @@
         ["amber/devel"],
         function (smalltalk) {
             smalltalk.initialize({'transport.defaultAmdNamespace': "amber_core"});
-
-            smalltalk.globals.Browser._open();
         }
     );
 </script>
+<p>To start legacy in-page IDE, <a href="javascript:require('amber/helpers').globals.Browser._open()">click here</a>.</p>
+<p>To popup Helios IDE, <a href="javascript:require('amber/helpers').popupHelios()">click here</a>.</p>
 </body>
 </html>