GitHub PullRequestReviewCommentEvent at 2014-03-21 20:09:03
Repository: project-stub
Actor: ilyar
Payload: {"comment":{"url":"https://api.github.com/repos/bem/project-stub/pulls/comments/10852372","id":10852372,"diff_hunk":"@@ -18,88 +13,24 @@ So, how easy is it to get started with BEM?  *Super easy*.\n \n It's as easy as...\n     \n-1. ›`git clone git://github.com/bem/project-stub.git`\n-2. ›`cd project-stub`\n-3. ›`npm install`\n-4. ›`./node_modules/bem/bin/bem server`\n+    git clone https://github.com/bem/project-stub.git -b bem-core my-bem-project\n+    cd my-bem-project\n+    npm install\n+    bem server\n \n *(hint: execute the above commands in your terminal)*\n \n Now that `bem server` is running, check it out:\n \n ````\n-Navigate to: http://localhost:8080/desktop.bundles/index/index.html\n+Navigate to: http://localhost:8080/bundles/index/index.html\n ````\n \n-(here, have a link: [http://localhost:8080/desktop.bundles/index/index.html](http://localhost:8080/desktop.bundles/index/index.html))\n-\n----\n-\n-**That's it, it's that simple. Congratulations, your BEM project is already underway!**\n-\n----\n-\n-### Was that too easy?\n-\n-Here's the replay... that `bem server` command will:\n-\n-1. Install a **local copy** of all required dependencies from [npm](http://npmjs.org/) into the `./node_modules` directory. (specifically: [bem-tools](http://github.com/bem/bem-tools))\n-2. Start a local `bem server` on port `8080`.\n-\n-#### Note:\n-\n-What do we mean by \"a **local copy** of all required dependencies\"?\n-\n-Well, when you run the `bem make` / `bem server` command for the first time, we install all of the required dependencies ([bem-tools](http://github.com/bem/bem-tools))\n-to the `./node_modules` directory within the **local project directory**.  This is *not* the same thing as\n-[installing bem-tools locally to your environment](http://bem.info/tools/bem/installation/) - which, if you haven't\n-done already, we strongly suggest that you do.  This is by far the easiest, quickest way to use\n-[bem-tools](http://github.com/bem/bem-tools) in [a more beautiful way](#an-easier-more-beautiful-way).\n-\n----\n+Stopping the server is also easy, pressing `[ctrl] + [c]` while the terminal is your active window will stop the server.\n \n ## Usage:\n \n-### Start the Server:\n-\n-    › ./node_modules/bem/bin/bem server\n-\n-\n-This is the ugly way to run the `bem server` command.  If you think it's ugly too and wish for [a better way](#an-easier-more-beautiful-way) keep reading...\n-\n-### An Easier, More Beautiful Way:\n-\n-Once you have either (a) [fixed your PATH environment variable](#fix-your-path-environment-variable), or (b) \n-[properly installed bem-tools to your local environment](http://bem.info/tools/bem/installation/).\n-You may now, more elegantly, start your `bem server` by running:\n-\n-    › bem server\n-\n----\n-\n-### Stopping the Server:\n-\n-Stopping the server is also easy:\n-\n-    [ctrl] + [c]\n-\n-Pressing `[ctrl] + [c]` while the terminal is your active window will stop the server.\n-\n----\n-\n-### Fix your PATH environment variable:\n-\n-For a more permanent way to \"easily\" use the *local-to-this-project's* installation of\n-[bem-tools](http://github.com/bem/bem-tools) all you must do is ensure that the **path** to the `bem` executable\n-(`./node_modules/.bin`) is included in your `PATH` environment variable.\n-\n-    > export PATH=./node_modules/.bin:$PATH\n-\n-Optionally you may also add `export PATH=PATH_TO_PROJECT_DIRECTORY/node_modules/.bin:$PATH` to your `.profile`\n-(obviously replacing `PATH_TO_PROJECT_DIRECTORY` with the actual path to your project)\n-\n----\n-\n-[BEM](http://bem.info) is an abbreviation for Block-Element-Modifier.  [BEM](http://bem.info) is a way to write code which is easy to support and develop.\n-\n-For more information about the BEM metodology check out [http://bem.info](http://bem.info/).\n+- [Full stack quick start](http://bem.info/articles/start-with-project-stub/)\n+- [Commands bem-tools](http://bem.info/tools/bem/bem-tools/commands/)","path":"README.md","position":116,"original_position":116,"commit_id":"03ddd2336f139a58309aeacd84386e6cb75e0b3a","original_commit_id":"03ddd2336f139a58309aeacd84386e6cb75e0b3a","user":{"login":"ilyar","id":761285,"avatar_url":"https://avatars.githubusercontent.com/u/761285?","gravatar_id":"540347edb91ef1f81e2e10170b783180","url":"https://api.github.com/users/ilyar","html_url":"https://github.com/ilyar","followers_url":"https://api.github.com/users/ilyar/followers","following_url":"https://api.github.com/users/ilyar/following{/other_user}","gists_url":"https://api.github.com/users/ilyar/gists{/gist_id}","starred_url":"https://api.github.com/users/ilyar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilyar/subscriptions","organizations_url":"https://api.github.com/users/ilyar/orgs","repos_url":"https://api.github.com/users/ilyar/repos","events_url":"https://api.github.com/users/ilyar/events{/privacy}","received_events_url":"https://api.github.com/users/ilyar/received_events","type":"User","site_admin":false},"body":"@tadatuta т.е. я не говорю что это тоже самое, но оно близко","created_at":"2014-03-21T20:09:03Z","updated_at":"2014-03-21T20:09:03Z","html_url":"https://github.com/bem/project-stub/pull/40#discussion_r10852372","pull_request_url":"https://api.github.com/repos/bem/project-stub/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/bem/project-stub/pulls/comments/10852372"},"html":{"href":"https://github.com/bem/project-stub/pull/40#discussion_r10852372"},"pull_request":{"href":"https://api.github.com/repos/bem/project-stub/pulls/40"}}}}