Skip to content

Commit

Permalink
Clean up the README
Browse files Browse the repository at this point in the history
Former-commit-id: 8c60b78
  • Loading branch information
sethladd committed Dec 17, 2013
1 parent 6eb2d9c commit 589a18b
Showing 1 changed file with 4 additions and 43 deletions.
47 changes: 4 additions & 43 deletions README.md
Expand Up @@ -8,7 +8,8 @@ A Dart build script (build.dart) will be executed if found.

*NOTE*: The current official builds of Dart SDK do not support Heroku, due to
mismatched glibc versions. You need to provide your own .tar.gz of Dart SDK,
compiled for Ubuntu 10.04 (Heroku's Cedar stack).
compiled for Ubuntu 10.04 (Heroku's Cedar stack). Get [instructions for
building Dart for Ubuntu 10.04][instructions].

## Getting Started

Expand Down Expand Up @@ -63,53 +64,13 @@ To git@heroku.com:dart-server-test.git
$> curl http://myapp_name.herokuapp.com/
```

## Configuration

#### Custom Location

You can specify a url to download the sdk from. The downloadable file must be in the same format as the one generated by the dart team. (gzip file containing the 'dart-sdk' directory')

```bash
$> heroku config:set DART_SDK_URL=<archive url>
```

#### Enable ENV Variables

In order for the build version or archive to come through in to the build pack you also need to set an experimental flag on Heroku

```bash
$> heroku labs:enable user-env-compile
```
More info on that can be found in [Heroku's Devcenter: Heroku Labs: user-env-compile](https://devcenter.heroku.com/articles/labs-user-env-compile)

## Example

See `test-app` directory for the world simplest Dart web app running on Heroku: [dartvm.herokuapp.com](http://dartvm.herokuapp.com/)
See `test-app` directory for the world simplest Dart web app running on Heroku: [http://dart-server-test.herokuapp.com/](http://dart-server-test.herokuapp.com/)

## License

The MIT License - Copyright (c) 2012 Ilya Grigorik


## Features that might prove useful in the future

If the official build of Dart SDK starts to support Heroku, these options
may be useful.

#### Build Version

You can specify the version of the dart-sdk that should be used by

```bash
$> heroku config:set BUILD=<version number>
```

A list of versions can be found [here](http://commondatastorage.googleapis.com/dart-editor-archive-integration/latest/changelog.html), by default `latest` is chosen.

#### Archive Location

The build archive location can be modified to choose between [continuous](http://commondatastorage.googleapis.com/dart-editor-archive-continuous) or [integration](http://commondatastorage.googleapis.com/dart-editor-archive-integration), by default integration archive is chosen.

```bash
$> heroku config:set ARCHIVE=<archive url>
```
[instructions]: https://code.google.com/p/dart/wiki/BuildDartSDKOnUbuntu10_04

0 comments on commit 589a18b

Please sign in to comment.