https://github.com/clement-jean/lfs145
Companion repository for LFS145 course
https://github.com/clement-jean/lfs145
linux-foundation protocol-buffers
Last synced: 2 months ago
JSON representation
Companion repository for LFS145 course
- Host: GitHub
- URL: https://github.com/clement-jean/lfs145
- Owner: Clement-Jean
- Created: 2022-08-31T07:15:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T03:22:53.000Z (over 2 years ago)
- Last Synced: 2025-01-19T12:54:00.641Z (4 months ago)
- Topics: linux-foundation, protocol-buffers
- Language: Python
- Homepage: https://training.linuxfoundation.org/training/introduction-to-protocol-buffers-lfs145/
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LFS145
This is the companion repository for the [LFS145 course](https://training.linuxfoundation.org/training/introduction-to-protocol-buffers-lfs145/).
## __Python__
In this section, we assume that you are in the `python` subdirectory.
### Virtual environment
#### __Creating__
```bash
python3 -m venv venv
```#### __Activating__
For Linux/MacOS:
```bash
source venv/bin/activate
```For Windows (Powershell):
```bash
./venv/bin/Activate.ps1
```#### __Installing Dependencies__
```bash
pip3 install -r requirements.txt --upgrade
```#### __Deactivating__
```bash
deactivate
```### Running
```bash
python3 main.py [account|user|user2|product|phone|phone2|logine|logins|any|duration|duration2|time|fm|fm2|struct|struct2|wrapper|json|file]
```### Protoc
```bash
protoc --python_out=. proto/*.proto
```## __Java__
In this section, we assume that you are in the `java` subdirectory.
### Running
```bash
python3 ../python/main.py file
gradle run --args="$(PWD)/account.bin"
```