First, make sure you have node.js with npm installed.
- Clone the repository by using
git clone [email protected]:29th/personnel.git
- Navigate inside the newly created directory by using
cd personnel
- Install server dependencies by using
npm install
(will install the packages in package.json) - Install bower package manager globally by using
sudo npm install -g bower
(it may prompt you to re-enter your password) - Install client dependencies by using
bower install
(will install the packages in bower.json) - Install gulp build system by using
sudo npm install -g gulp
- Open
app/scripts/config.dev.js
and modifyapiHost
to point to yourpersonnel-api
instance
You can now browse to the app/
directory in the browser to view the development version of the app, which will load more slowly since it loads every file separately. To build the app into a single, production file, use gulp
and browse to the app/build/
directory in the browser.
To push changes back to the repository, navigate to the root directory of the app and use git add .
to find all changes in the directory, then git commit -m "Summary of the changes"
to group the changes into one commit, then git push origin master
to push the changes to the GitHub repository.
After committing changes to the repository, pull them into the production environment via git pull origin master
, then build the app via gulp
.