add how to build and run FTL to README.md
@@ -56,6 +56,18 @@ Specific version (based on git $COMMIT_SHA)
Specific version (based on git $COMMIT_SHA)
`https://storage.googleapis.com/gcp-container-tools/ftl/php/$COMMIT_SHA/ftl.par`
+## Building and Running
+FTL is built using bazel so bazel must be installed. To build artifacts with FTL, use `bazel build` and then one of the bazel rules specified in a BUILD file. The most common rules `//ftl:node_builder`, `//ftl:python_builder`, `//ftl:python_builder`. To run FTL locally, `bazel run` can be used, passing flag args to the command. An example is below:
+```
+bazel run //ftl:python_builder -- \
+ --base=gcr.io/google-appengine/python:latest \
+ --name=gcr.io/aprindle-vm/python-ftl-v50:latest \
+ --directory=$(pwd)/ftl/python/testdata/packages_test \
+ --virtualenv-dir=$HOME/env \
+ --verbosity=INFO
+```
+FTL also supports a `--tar_base_image_path=$TARGET_PATH` flag if users do not which to upload to a registry
+
## Developing
To run the FTL integration tests, run the following command locally from the root directory:
