Skip to content

Commit

Permalink
update Root README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitYadav-codes committed Apr 15, 2024
1 parent 4e5635f commit 11e2763
Showing 1 changed file with 70 additions and 1 deletion.
71 changes: 70 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,71 @@
# Automotive Knowledge Model (AKM)
This repo contains the Automotive Knowledge Model (AKM), an open-source data model and metadata catalog for transmitting vehicle signals in a consistent manner.
This repo contains the Automotive Knowledge Model (AKM), an open-source data model and metadata catalog for transmitting vehicle signals in a consistent manner.


- akm\schema contains the JSON Schema file(s) that provide the structure and meaning of the automotive metadata files
- akm\data contains the JSON documents that contain the actual Automotive metadata
- akm\documentation contains markdown files that explain aspects of the AKM



# AKM Tools

akm_tools provides a set of tools for parsing, validating, and exporting Automotive Knowledge Model (AKM) data. It can be set up and used either with Poetry or with a DevContainer. Below are the instructions for both methods.

## Setup and Use with Poetry

Poetry is a tool for dependency management and packaging in Python.

1. Install Poetry if you haven't already. You can do this by following the instructions on the [Poetry website](https://python-poetry.org/docs/#installation).

2. Clone this repository to your local machine.

```
git clone https://github.com/COVESA/akm.git
```
3. Navigate to the cloned repository.
```
cd akm
```
4. Install the project dependencies.
```
poetry install
```
5. You can now run the module with Poetry (without poetry shell)
```
poetry run akm_tools/akm_parser.py
```
6. Or with Poetry shell enabled. (normally your terminal prompt will be prefixed with it)
```
python akm_tools/akm_parser.py
```
## Setup and Use with DevContainer
A DevContainer, or Development Container, is a reproducible development environment defined in a Dockerfile.
1. Install Docker and Visual Studio Code if you haven't already.
2. Install the "Remote - Containers" extension in Visual Studio Code.
3. Clone this repository to your local machine.
```
git clone https://github.com/COVESA/akm.git
```
4. Open the cloned repository in Visual Studio Code.
5. Press `F1` to open the command palette and select the "Remote-Containers: Open Folder in Container..." command. Choose the cloned repository folder.
6. The `postCreateCommand` will run `poetry install` and `poetry shell` automatically to prepare the enviornment.
Refer to [akm_tools/README.MD](akm_tools/README.md) for instructions on how to use the tools.

0 comments on commit 11e2763

Please sign in to comment.