★ wanayoo — archive 1999 https://github.com/ember-cli/ember-cliNouvelle recherche | Portail wanayoo
Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript Other

Merge pull request #4672 from lazybensch/validate_project_name

[BUGFIX] disallow `app` as project name
latest commit d81ed3abbf
@stefanpenner stefanpenner authored
Failed to load latest commit information.
assets/architecture Added architecture in readme
bin display package size when building
blueprints do not throw on `ember g resource`
dev bump windows vm mem/cpu/vram so dev in it is more pleasant.
docs Added documentation for addon, emberapp, project
lib disallow `app` as project name
patches ensure we apply patches at the right part of the release.
tests Merge pull request #4672 from lazybensch/validate_project_name
.codeclimate.yml Add Code Climate config
.editorconfig Add .editorconfig file
.gitignore adding code coverage
.jshintignore Improving dummy addon check and adding destroy tests.
.jshintrc [fixes #2338] automatically prevent spotlight from indexing `dist` an…
.travis.yml disable OSX CI for now, we will push to improve the test suite perfor…
ADDON_HOOKS.md Update ADDON_HOOKS.md
ARCHITECTURE.md Fix minor typo's
CHANGELOG.md add 1.13.8 diff to changelog
CODE_OF_CONDUCT.md Fix code of conduct markdown formatting
CONTRIBUTING.md formatting
LICENSE.md Updated license copyright date range
README.md [fixes #4257]
RELEASE.md release instructions shouldn’t push all tags, just the one that was j…
TRANSITION.md Fix js typo in transition doc
appveyor.yml Windows CI: Removed npm upgrade
package.json Release v1.13.8

README.md

ember-cli

Build Status Dependency Status devDependency Status Build status Code Climate Test Coverage Inline docs

The Ember.js command line utility.

Supports node 0.12.x and npm 2.6.x.

Community

ScreenShot

Project Elements

Additional components of this project which are used at runtime in your application:

Development Hints

Working with master

git clone https://github.com/ember-cli/ember-cli.git
cd ember-cli
npm link

npm link is very similar to npm install -g except that instead of downloading the package from the repo the just cloned ember-cli/ folder becomes the global package. Any changes to the files in the ember-cli/ folder will immediately affect the global ember-cli package.

Now you can use ember-cli via the command line:

ember new foo
cd foo
npm link ember-cli
ember server

npm link ember-cli is needed because by default the globally installed ember-cli just loads the local ember-cli from the project. npm link ember-cli symlinks the global ember-cli package to the local ember-cli package. Now the ember-cli you cloned before is in three places: The folder you cloned it into, npm's folder where it stores global packages and the ember-cli project you just created.

If you upgrade an app running against Ember CLI master you will need to re-link to your checkout of Ember CLI by running npm link ember-cli in your project again.

Please read the official npm-link documentation and the npm-link cheatsheet for more information.

Working with the tests

Use npm test to run the tests (Runs only fast tests).

For a full test run which includes some very slow acceptance tests, please run: npm run test-all. Please note, this is what travis runs.

To exclude a test or test suite append a .skip to it() or describe() respectively (e.g. it.skip(...)). To focus on a certain test or test suite append .only.

Please read the official mocha documentation for more information.

Problems

When running ember cli it could happen that a lack of file watches can occur. You will get an error message like:

Serving on http://localhost:4200
watch ENOSPC
Error: watch ENOSPC
    at errnoException (fs.js:1019:11)
    at FSWatcher.start (fs.js:1051:11)
  ...

This problem will be corrected in future releases. The following line is a workaround to get the server up and running until this problem is fixed. See Issue 1054.

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

For Arch Linux or Manjaro Linux, in order for the parameters to be loaded at boot, the kernel sysctl parameters have to be saved in a drop-in directory instead of sysctl.conf.

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.d/99-sysctl.conf && sudo sysctl --system

Inline Documentation

Use npm run docs to build HTML and JSON documentation with YUIDoc and place it in docs/build/. Please help by improving this documentation.

Contribution

See CONTRIBUTING.md

Upgrading

Donating

All donations will support this project and treats for contributors.

Support via Gittip

License

ember-cli is MIT Licensed.

Something went wrong with that request. Please try again.