This repository has been combined with the markdown source repository, and is deprecated. Please visit cli-guides to contribute to the project. Thank you :)
This repository is part of a Work-In-Progress project to refresh the CLI guides content that currently lives at https://ember-cli.com. The CLI Guides App is the structure for the cli-guides-source markdown files.
As this project is pre-1.0, no content should be taken as the final word. Additional review is still pending.
Do you know a thing or two about the CLI or addons? We'd love to have your help with writing! Do you wish you knew a thing or do? You could help us review to make sure that content is helpful to all knowledge levels. Please drop by the #-team-learning channel on the Ember Community Slack and @
one of the main contributors to get more information.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd cli-guides-app
npm install
This will display the content of the deployed Guides markdown
To see what a local copy of the Guides markdown looks like:
- Clone the Ember CLI Guides Source repository
- link the
ember-cli-guides-source
repository by runningnpm link
inside that repo, thennpm link @ember-learn/cli-guides
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
See pages.yaml
in the cli-guides-source. Whatever has a url of index will be what is shown for the top level path, like /tutorial/
. There must be an index.md
under each topic.
ember test
ember test --server
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
- Clone the cli-guides-source to your computer
- From within the guides-source repo, do
np
ornpm run release
. You must have valid npm credentials to do this. Choose apatch
release. - From within this cli-guides-app repository, do
npm install @ember-learn/cli-guides@latest
git diff
to see that the package number has been updated to whatevernp
produced.- commit the changes and push to
master
of the cli-guides-app respository