ProtoData is a collection of tools for generating quality domain models from Protobuf definitions.
The project is under development right now. Proceed with caution.
If you use Java and Gradle, you can install and launch ProtoData easily. See the Gradle plugin doc for more info.
To install ProtoData on a *nix system:
-
Download the
protodata-setup-<version>.jararchive. -
Unzip the archive:
unzip -d ./target/dir path/to/protodata.jar
- Run the installer script:
./target/dir/install.sh
By default, the tool is installed into $HOME/Library/ dir. To change the installation dir,
pass it as a parameter to the install.sh script:
./target/dir/install.sh $HOME/custom/installation/dir
- If you use either
bashorzshshell, you will be asked to run asourcecommand to update thePATHenvironmental variable. If you use another shell, you will have to update thePATHvariable manually.
Now ProtoData CLI should be accessible. To check the correctness of the installation, run:
protodata -h
There is currently no installation script for Windows.
Start using the app:
-
Download and extract the
protodata-setup-<version>.jararchive. -
To launch the app, launch the
bin/protodata.batscript.
Note that it is necessary to keep the structure of the archive intact: the scripts in bin rely
on the relative path to other files in the archive.