- Dependencies
- oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - zsh-nvm
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm- Add
zsh-nvmas the first plugin in the~/.zshrcplugins list - Add
nvm use defaultto the bottom of~/.zshrc
- nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash - node/npm
nvm install --lts - @angular/cli
npm install -g @angular/cli - sass-list
npm install -g sass-lint - Atom Packages
- atom-beautify
- atom-ide-ui
- atom-typescript
- ide-css
- linter-cass-lint
- sort-lines
- If you run into an issue where ng serve does not detect file system changes, you may need to run this, (lost on reboot)
sudo sysctl fs.inotify.max_user_watches=524288sudo sysctl -p --system- To make persistent:
echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.