The instructions for deployment and configuration are located here: Instructions
The current version and release history of the V2X Hub software platform can be found here: Release Notes
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
The V2X Hub software can run on most Linux-based computers with Pentium core processers, with at least a 64-bit processor, 2GB of RAM, and at least 64GB of drive space. Performance of the software will be based on the computing power and available RAM in the system.
This project was generated using Angular CLI version 19.0.7.
ngx-traffic-cdk/
│
├── projects/
│ ├── traffic-cdk-map/
│ ├── ...
|
├── dist/
│ ├── traffic-cdk-map/
│ ├── ...
│
├── angular.json
├── package.json
├── tsconig.json
├── README.md
├── ...
ng new <PROJECT_NAME> --create-application=false
To create/add a new Angular library component, follow these steps:
-
Generate the Angular Library
ng generate library <LIBRARY_NAME>
This creates a library in the projects/<LIBRARY_NAME> folder.
-
Build and Test libraries under this project
ng build <PROJECT_NAME>
-
Run Tests
ng test <PROJECT_NAME>
To build all projects run:
ng build
This will compile your project and store the build artifacts in the dist/
directory. By default, the production build optimizes your application for performance and speed.
To execute unit tests with the Karma test runner, use the following command:
ng test
- Ensure each library has a valid
package.json
, and update the"name"
with"name": "@your-scope/library-one"
- Update each library
package.json
version with a new version number if old version is already published. - Update root
package.json
with the new library name in build command, below:{ "scripts": { "build:all": "ng build library-one && ng build traffic-cdk-library-two && ng build traffic-cdk-library-three", "publish:traffic-cdk-library-one": "cd dist/traffic-cdk-library-one && npm publish --access public", "publish:traffic-cdk-library-two": "cd dist/traffic-cdk-library-two && npm publish --access public", "publish:traffic-cdk-library-three": "cd dist/traffic-cdk-library-three && npm publish --access public", "publish:all": "npm-run-all build:all publish:traffic-cdk-*" } }
The GitHub Packages registry is a package registry that allows you to publish and consume packages from GitHub and available at https://github.com/orgs/usdot-fhwa-OPS/packages.
To use the library in your Angular application, follow these steps:
- Add
.npmrc
file to the root of your project and add the following content:@your-scope:registry=https://npm.pkg.github.com
- Login to your GitHub Packages registry:
npm login --auth-type=legacy --registry=https://npm.pkg.github.com
- Install the library using npm:
npm install @your-scope/library-one
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.
Welcome to the V2X-Hub contributing guide. Please read this guide to learn about our development process, how to propose pull requests and improvements, and how to build and test your changes to this project. V2X-Hub Contributing Guide Also see Using VS Code For Development for instructions on compiling using VS Code.
Please read our V2X-Hub Code of Conduct which outlines our expectations for participants within the V2X-Hub community, as well as steps to reporting unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and expect our code of conduct to be honored. Anyone who violates this code of conduct may be banned from the community.
The development team would like to acknowledge the people who have made direct contributions to the design and code in this repository. V2X-Hub Attribution
For technical support from the V2xHub team, please contact the help desk at [email protected].