Beam Playground is an interactive environment to try out Beam transforms and examples. The vision for the Playground is to be a web application where users can try out Beam without having to install/initialize a Beam environment.
See playground/README.md for details on requirements and setup.
The following command is used to build and serve the website locally:
$ flutter run
Run the following command to generate a release build:
$ flutter build web
Playground tests may be run using next commands:
$ flutter pub run build_runner build
$ flutter test
Dart code should follow next code style. Code may be analyzed using this command:
$ flutter analyze
Code can be automatically reformatted using:
$ flutter format ./lib
To add a new localization, follow next steps:
Create app_YOUR_LOCALE_CODE.arb file with your key-translation pairs, except description tags, in lib/l10n directory (use app_en.arb as example).
Add Locale(‘YOUR_LOCALE_CODE’) object to static const locales variable in lib/l10n/l10n.dart file.
Run the following command to generate a build and localization files:
$ flutter build web
The app could be configured using gradle task (e.g. api url)
cd beam ./gradlew :playground:frontend:createConfig
For more information see See CONTRIBUTE.md
The full list of commands can be found here
If you'd like to contribute to the Apache Beam Playground website, read our contribution guide where you can find detailed instructions on how to work with the playground.