Old Instructions (No longer valid)
AngularJS requires the following tool tree installed on your development machine.
Xcode (only for mac)
Ruby (preferably use rvm to manage your ruby environements - read this blog)
Node and Node Package Manager (npm)
Global node modules - bower, grunt, compass
Project specific node modules
Bower project components
Use following instructions (the exact mechanism for doing step 1 would depend on the OS you are using, we have mentioned for mac).
Install Xcode and npm
Install the following modules required globally (This is a one time task)
npm install -g bower
npm install -g grunt-cli
# best to do this within an rvm environment
gem install compass
You would have to run the following commands for each Bahmni front end project. Run these commands from the ui folder under Bahmni front end project:
# Install node dependencies (Installed into node_modules).
# Set up UI component/dependencies (This installs all the UI dependencies into app/components)
# Build the application (into dist folder) using Grunt
- Run this command from Bahmni frontend project folder for creating a symlink into your vagrant /var/www:
# links app folder
# links dist folder