|author||John Ryan <email@example.com>||Mon Feb 22 17:15:24 2021 -0800|
|committer||GitHub <firstname.lastname@example.org>||Tue Feb 23 12:15:24 2021 +1100|
Strip file paths from analyzer messages (#664)
A server backend to support DartPad.
This project is built with grinder. To install, please run:
$ pub global activate grinder
The dart-services v2 API is defined in terms of Protobuf, which requires the installation of the Protobuf
protoc compiler. Please see Protocol Buffers for detailed instalation instructions.
The Dart protoc plugin is also required for the above
protoc compiler to generate Dart code. To install, please run:
$ pub global activate protoc_plugin
The Flutter SDK needs to be downloaded and setup.
$ dart pub install $ dart run tool/update_sdk.dart
The Dart Services server depends on generated files. Run the following to generate all the required binaries.
$ grind deploy
To run the server, run:
$ grind serve
The server will run from port 8082 and export several JSON APIs, like
To run tests:
grind test for unit tests
grind deploy for all tests and checks.
dart-services requires the
redis package, including the
redis-server binary, to be installed to run tests.
sudo apt-get install redis-server will install this on Ubuntu, but see Redis' Quick Start guide for other platforms.
To deploy the server to Dart on AppEngine, follow the instructions here.
warmup.dart to point the BASE_URI to your AppEngine project.
The will deploy the server, and run the warmup sequence and sanity checks.
See also the dart-pad repo.
Please file reports on the GitHub Issue Tracker for DartPad.