Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/varya/online-shop-dummy


https://github.com/varya/online-shop-dummy

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

Minimal configs and folders to start BEM project
================================================

### Usage

› git clone [email protected]:toivonen/online-shop-dummy.git
› cd online-shop-dummy
› make

This will install localy all project's dependencies from npm and starts local `bem server`
under HTTP port `8080`. So you could navigate to `http://localhost:8080/desktop.bundles/index/index.html`.

Alternative to use `make`, you could install all dependencies by your self. To do so type `npm install` from the top
of your working copy. After that your could start server:

› bem server

Navigate to `http://localhost:8080/desktop.bundles/index/index.html`

**NOTE:** `bem` should be in your `PATH` environment variable. You could do this by adding this line to your user's
`.profile` config:

exports PATH=./node_modules/.bin:$PATH

### Purpose

The repository illustrates how to use the full BEM stack. The information is
actual for Dec 2012.

I recommend to check [Start developing BEM with
project-stub](http://bem.info/articles/start-with-project-stub/) (or [Попробуй
БЭМ на вкус](http://habrahabr.ru/post/162385/), in Russian) for step-by-step
instruction.

---

BEM is abbreviation for Block-Element-Modifier. It's a way to write code which is easy to support and develop.

For more info about BEM metodology see [bem.info](http://bem.info/).