Once you've written a YAML blueprint, there are several ways to deploy it. These insructions assume you have [installed]({{ site.url }}/use/guide/quickstart/) Brooklyn. You can then:
{% highlight bash %} $ brooklyn launch --app ./blueprint.yaml {% endhighlight %}
Or, assuming you‘ve launched a server already (usually on http://127.0.0.1/ unless you’ve configured security in brooklyn.properties
), you can:
{% highlight bash %} $ curl -T ./blueprint.yaml -X POST http://localhost:8081/v1/applications {% endhighlight %}
You may also need a -H "Content-Type: application/yaml"
depending on type configuration. (Not usually for this, but often for other calls.)
POST
to /v1/applications
.