From a1c015fbd319786462d80918f96c3c1869ebb264 Mon Sep 17 00:00:00 2001 From: symonty Date: Tue, 11 Oct 2016 14:08:23 -0700 Subject: [PATCH] Updated to correct directory structure Sources>Apps The documentaiton stated >App>main.swift when I did the process i noted it was >Sources>App>main.swift Confused me for a bit so I thought it was worth an update --- getting-started/hello-world.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/getting-started/hello-world.md b/getting-started/hello-world.md index f86e1551..fc9ce973 100644 --- a/getting-started/hello-world.md +++ b/getting-started/hello-world.md @@ -20,11 +20,12 @@ Vapor's folder structure will probably look familiar to you if you have worked w ``` . -├── App -│ └── Controllers -│ └── Middleware -│ └── Models -│ └── main.swift +├── Sources +│ └── App +│ └── Controllers +│ └── Middleware +│ └── Models +│ └── main.swift ├── Public ├── Resources │ └── Views @@ -35,8 +36,9 @@ For our Hello, World project, we will be focusing on the `main.swift` file. ``` . -└── App - └── main.swift +└── Sources + └── App + └── main.swift ``` Note: The `vapor new` command creates a new project with examples and comments about how to use the framework. You can delete these if you want.