Skip to content

rohitn01/dynamic-website

 
 

Repository files navigation

OpenSourceWeb

This is the repository for the Open Source @ Illinois dynamic website.

This project depends on Node.js and Angular (Angular CLI version 7.3.8 or later should be sufficient). See the Setup section for details on setting them up.

Setup

Here is a general procedure for setting up the project:

  1. Install the latest stable Node.js version (10.16.3 LTS as of September 21, 2019). The latest version can be installed from the Node.js website.
  2. Install the latest Angular version (8.3.5 as of September 21, 2019) globally by running npm install -g @angular/cli.
  3. Install the project's dependencies by running npm install.
  4. Test the setup by running ng serve and navigating to http://localhost:4200 in a browser. The website's homepage should appear.

For more information on setting up Angular, see the Setup section of the Angular documentation.

Development server

Run npm run serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 72.5%
  • JavaScript 14.4%
  • HTML 8.6%
  • CSS 4.4%
  • Dockerfile 0.1%