- Make sure you have the latest Node LTS installed.
clone git@gitlab.com:TheLeftovers/OwlVisionFront.git
(set up your SSH keys first! instructions are given by gitlab in that screen)npm install
npm install angular-cli -g
to install angular-cli globallynpm install typescript -g
ng serve
then navigate to http://localhost:4200
- In your terminal, in the root directory of the project after cloning the repo, run
git branch
to ensure you are in the master branch. If you are not, then rungit checkout master
to change branches - Now make sure your branch is up to date by running
git pull origin master
- Now you are ready to create a new branch where you can work on new features. The following will create a new branch and change branches in one line:
git checkout -b branch_name
branch_name can be anything you want - Now make modification to the code however you want.
- When you are ready to push them back to the repo, you must execute these operations:
git add . --all
to stage modified files for commitgit commit -m "describe your changes here in the commit message"
git push origin branch_name
- Now your branch will be pushed to the repo but will not have merged with the master branch yet. For this, you may either follow the link provided by gitlab in the terminal or just go into gitlab > branches and next to the branch you just updated, there will be a "merge request" button. Click it and submit it. Once it's approved it will be merged to master.
###References:
AngularFire2 Documentation: good place to gain an understanding of firebase and basic data manipulation
Firebase SDK API: AngularFire is a library on top of the firebase SDK. If you can't do something in AF2, look here.
Core-UI Angular2 Demo: Browse the UI components to use in our project ....
Core-UI Demo: then grab the code from here for the components you liked in the demo and use them