https://github.com/lucademenego99/scottish-parliament
Repository concerning an angular application developed for the Web Architectures course of the master's degree in Computer Science at University of Trento
https://github.com/lucademenego99/scottish-parliament
angular scottish-parliament
Last synced: about 2 months ago
JSON representation
Repository concerning an angular application developed for the Web Architectures course of the master's degree in Computer Science at University of Trento
- Host: GitHub
- URL: https://github.com/lucademenego99/scottish-parliament
- Owner: lucademenego99
- License: mit
- Created: 2022-12-20T17:58:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T11:46:28.000Z (over 2 years ago)
- Last Synced: 2025-02-12T09:50:06.717Z (4 months ago)
- Topics: angular, scottish-parliament
- Language: TypeScript
- Homepage:
- Size: 7.26 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ScottishParliament
scottish-parliament is an Angular application, generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.4. It has been implemented as an exercise for the Web Architectures Master's Course in CS, whose assignment and report can be found in the folder `docs/`. The project is served as a Github Pages website.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Build
Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Deployment
#### Github Pages
The project uses `angular-cli-ghpages` for the deployment on Github Pages. The command used to deploy a new version is: `ng deploy --base-href=/scottish-parliament/`.#### Local Tomcat
The project can be deployed to a local Tomcat server by using maven. Its configuration can be found in the `pom.xml` file, where some variables probably need to be updated according to your configuration:
```
http://localhost:8080
admin
password
```After that, the project can be deployed with `mvn clean install tomcat7:undeploy tomcat7:deploy`.