Skip to content

yaman-lk/web-portal

Repository files navigation

InnaThanak

This project was generated with Angular CLI version 9.0.5.

Template

Template that we are using for this project is "Real Estate 2"

here is the link for download & online preview
👇
https://colorlib.com/wp/template/real-estate-2/

🔘 css and scripts are already added to the angular.json
🔘 so you are no need to care about css and scripts
🔘 use the suitable html files in template for the pages that you are creating

images may not show in your pages
images sources provided in html files are not matching with the angular relative paths, so care about it
( see how image links are used in home page and use that way in your html files too )

Setup instruction

  1. First clone the repository using git clone https://github.com/yaman-lk/web-portal.git
  2. Navigate to cloned repository using cd web-portal in command prompt
  3. Open the development server using ng serve

Development server

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.

Dev instructions

  1. Make a git pull to get repository updated
  2. Make a git branch using git checkout -b <branchname> (ex: git checkout -b adam-dev)
  3. Fix the issues
  4. push the code using git push --set-upstream origin <branch name>

Code scaffolding

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.