diff --git a/.gitignore b/.gitignore index 6a77d3e..2832c4b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ packets.db /table_details.py config.ini screenshots/* +python/nanopb diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..92ee613 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "python"] + path = python + url = https://github.com/meshtastic/python.git diff --git a/README.md b/README.md index 98da562..5f88c7f 100644 --- a/README.md +++ b/README.md @@ -65,10 +65,15 @@ Clone the repo from GitHub: git clone https://github.com/pablorevilla-meshtastic/meshview.git ``` -Create a Python virtual environment: - ```bash cd meshview +git submodule update --init +ln -s ../python/meshtastic/protobuf meshtastic/protobuf +``` +Create a Python virtual environment: + +from the meshview directory... +```bash python3 -m venv env ``` diff --git a/python b/python new file mode 160000 index 0000000..d53ced2 --- /dev/null +++ b/python @@ -0,0 +1 @@ +Subproject commit d53ced216c429ee88b3324b24cbc0c2b83069f84