github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/appfile/project.html.md (about) 1 --- 2 layout: "docs" 3 page_title: "Project - Appfile" 4 sidebar_current: "docs-appfile-project" 5 description: |- 6 The project configuration binds an application to a project and 7 binds a project to an infrastructure. 8 --- 9 10 # Project Configuration 11 12 The project configuration binds an application to a project and 13 binds a project to an infrastructure. 14 15 This page assumes you're familiar with the 16 [Appfile syntax](/docs/appfile/syntax.html) already. 17 18 ## Example 19 20 The project configuration looks like the following: 21 22 ``` 23 project { 24 name = "my-app" 25 infrastructure = "production" 26 } 27 ``` 28 29 ## Description 30 31 The `project` block ties an application to a project. A project is 32 a group of applications that share the same infrastructure. 33 34 The `project` block allows the following keys to be set: 35 36 * `name` (string) - The name of the project. This must be unique 37 to an infrastructure. 38 39 * `infrastructure` (string) - The name of the infrastructure that this 40 project should be deployed onto by default. This should match the name of a 41 configured [infrastructure](/docs/appfile/infra.html). In the example 42 above, the infrastructure is named "production". 43 44 For people with multiple applications, the `project` block is usually 45 shared via [imports](/docs/appfile/import.html) in the Appfile. 46 47 ## Syntax 48 49 The full syntax is: 50 51 ``` 52 project { 53 name = NAME 54 infrastructure = TYPE 55 } 56 ```