diff --git a/build/2.0/getting-started/manual/index.html b/build/2.0/getting-started/manual/index.html index dc165e70..c679e534 100644 --- a/build/2.0/getting-started/manual/index.html +++ b/build/2.0/getting-started/manual/index.html @@ -1690,7 +1690,7 @@ swift package init --type executable
Compiling in Swift's release mode and setting Vapor's environment to production will make your app more secure and performant.
-swift build --configuraiton release +diff --git a/build/2.0/mkdocs/search_index.json b/build/2.0/mkdocs/search_index.json index b8a3d4bb..7b8ca555 100644 --- a/build/2.0/mkdocs/search_index.json +++ b/build/2.0/mkdocs/search_index.json @@ -287,7 +287,7 @@ }, { "location": "/getting-started/manual/", - "text": "Manual Quickstart\n\n\nLearn how to create a Vapor project \nwithout\n the Toolbox using just Swift 3 and the Swift Package Manager.\n\n\nThis document assumes that you have Swift 3.1 installed.\n\n\n\n\nTip\n\n\nIf you'd prefer to use the Toolbox, follow the toolbox guide \nhere\n.\n\n\n\n\nMake new project using SwiftPM\n\n\nOpen your terminal\n\n\n\n\nNote\n\n\nFor our example, we'll be using the Desktop folder.\n\n\n\n\ncd\n ~/Desktop\nmkdir Hello\n\ncd\n Hello\nswift package init --type executable\n\n\n\n\n\nYour folder should look like this:\n\n\n\u251c\u2500\u2500 Package.swift\n\u251c\u2500\u2500 Sources\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.swift\n\u2514\u2500\u2500 Tests\n\n\n\n\n\nEdit \nPackage.swift\n\n\nOpen your \nPackage.swift\n file:\n\n\nopen Package.swift\n\n\n\n\n\nAnd add Vapor as a dependency. Here's how your file will look.\n\n\nPackage.swift\n\n\nimport\n \nPackageDescription\n\n\n\nlet\n \npackage\n \n=\n \nPackage\n(\n\n \nname\n:\n \nHello\n,\n\n \ndependencies\n:\n \n[\n\n \n.\nPackage\n(\nurl\n:\n \nhttps://github.com/vapor/vapor.git\n,\n \nmajorVersion\n:\n \n2\n)\n\n \n]\n\n\n)\n\n\n\n\n\n\n\n\nWarning\n\n\nWe try to keep this document up to date, however, you can view latest releases \nhere\n.\n\n\n\n\nEdit \nmain.swift\n\n\nA simple hello world:\n\n\nimport\n \nVapor\n\n\n\nlet\n \ndrop\n \n=\n \nDroplet\n()\n\n\n\ndrop\n.\nget\n(\nhello\n)\n \n{\n \nreq\n \nin\n\n \nreturn\n \nHello Vapor\n\n\n}\n\n\n\ndrop\n.\nrun\n()\n\n\n\n\n\n\nCompile \n Run\n\n\nThe first \nbuild\n command can take a while to fetch dependencies.\n\n\nswift build\n.build/debug/Hello serve\n\n\n\n\n\n\n\nWarning\n\n\nIf different, replace \nHello\n above with the name of your executable (as defined in \nPackage.swift\n).\n\n\n\n\nProduction\n\n\nCompiling in Swift's release mode and setting Vapor's environment to production will make your app more secure and performant.\n\n\nswift build --configuraiton release\n.build/release/Hello serve --env\n=\nproduction\n\n\n\n\n\nView\n\n\nGo to your favorite browser and visit \nhttp://localhost:8080/hello", + "text": "Manual Quickstart\n\n\nLearn how to create a Vapor project \nwithout\n the Toolbox using just Swift 3 and the Swift Package Manager.\n\n\nThis document assumes that you have Swift 3.1 installed.\n\n\n\n\nTip\n\n\nIf you'd prefer to use the Toolbox, follow the toolbox guide \nhere\n.\n\n\n\n\nMake new project using SwiftPM\n\n\nOpen your terminal\n\n\n\n\nNote\n\n\nFor our example, we'll be using the Desktop folder.\n\n\n\n\ncd\n ~/Desktop\nmkdir Hello\n\ncd\n Hello\nswift package init --type executable\n\n\n\n\n\nYour folder should look like this:\n\n\n\u251c\u2500\u2500 Package.swift\n\u251c\u2500\u2500 Sources\n\u2502\u00a0\u00a0 \u2514\u2500\u2500 main.swift\n\u2514\u2500\u2500 Tests\n\n\n\n\n\nEdit \nPackage.swift\n\n\nOpen your \nPackage.swift\n file:\n\n\nopen Package.swift\n\n\n\n\n\nAnd add Vapor as a dependency. Here's how your file will look.\n\n\nPackage.swift\n\n\nimport\n \nPackageDescription\n\n\n\nlet\n \npackage\n \n=\n \nPackage\n(\n\n \nname\n:\n \nHello\n,\n\n \ndependencies\n:\n \n[\n\n \n.\nPackage\n(\nurl\n:\n \nhttps://github.com/vapor/vapor.git\n,\n \nmajorVersion\n:\n \n2\n)\n\n \n]\n\n\n)\n\n\n\n\n\n\n\n\nWarning\n\n\nWe try to keep this document up to date, however, you can view latest releases \nhere\n.\n\n\n\n\nEdit \nmain.swift\n\n\nA simple hello world:\n\n\nimport\n \nVapor\n\n\n\nlet\n \ndrop\n \n=\n \nDroplet\n()\n\n\n\ndrop\n.\nget\n(\nhello\n)\n \n{\n \nreq\n \nin\n\n \nreturn\n \nHello Vapor\n\n\n}\n\n\n\ndrop\n.\nrun\n()\n\n\n\n\n\n\nCompile \n Run\n\n\nThe first \nbuild\n command can take a while to fetch dependencies.\n\n\nswift build\n.build/debug/Hello serve\n\n\n\n\n\n\n\nWarning\n\n\nIf different, replace \nHello\n above with the name of your executable (as defined in \nPackage.swift\n).\n\n\n\n\nProduction\n\n\nCompiling in Swift's release mode and setting Vapor's environment to production will make your app more secure and performant.\n\n\nswift build --configuration release\n.build/release/Hello serve --env\n=\nproduction\n\n\n\n\n\nView\n\n\nGo to your favorite browser and visit \nhttp://localhost:8080/hello", "title": "Manual" }, { @@ -322,7 +322,7 @@ }, { "location": "/getting-started/manual/#production", - "text": "Compiling in Swift's release mode and setting Vapor's environment to production will make your app more secure and performant. swift build --configuraiton release\n.build/release/Hello serve --env = production", + "text": "Compiling in Swift's release mode and setting Vapor's environment to production will make your app more secure and performant. swift build --configuration release\n.build/release/Hello serve --env = production", "title": "Production" }, { diff --git a/build/2.0/sitemap.xml b/build/2.0/sitemap.xml index 0801aa47..23b6b026 100644 --- a/build/2.0/sitemap.xml +++ b/build/2.0/sitemap.xml @@ -4,7 +4,7 @@swift build --configuration release .build/release/Hello serve --env=production@@ -13,37 +13,37 @@ / -2017-05-17 +2017-05-18 daily /getting-started/install-on-macos/ -2017-05-17 +2017-05-18 daily /getting-started/install-on-ubuntu/ -2017-05-17 +2017-05-18 daily /getting-started/toolbox/ -2017-05-17 +2017-05-18 daily /getting-started/hello-world/ -2017-05-17 +2017-05-18 daily /getting-started/manual/ -2017-05-17 +2017-05-18 daily @@ -53,49 +53,49 @@ /getting-started/xcode/ -2017-05-17 +2017-05-18 daily /vapor/folder-structure/ -2017-05-17 +2017-05-18 daily /vapor/droplet/ -2017-05-17 +2017-05-18 daily /vapor/views/ -2017-05-17 +2017-05-18 daily /vapor/controllers/ -2017-05-17 +2017-05-18 daily /vapor/provider/ -2017-05-17 +2017-05-18 daily /vapor/hash/ -2017-05-17 +2017-05-18 daily /vapor/log/ -2017-05-17 +2017-05-18 daily @@ -105,7 +105,7 @@ /vapor/commands/ -2017-05-17 +2017-05-18 daily @@ -115,13 +115,13 @@ /settings/config/ -2017-05-17 +2017-05-18 daily /json/package/ -2017-05-17 +2017-05-18 daily @@ -131,31 +131,31 @@ /json/overview/ -2017-05-17 +2017-05-18 daily /routing/package/ -2017-05-17 +2017-05-18 daily /routing/overview/ -2017-05-17 +2017-05-18 daily /routing/parameters/ -2017-05-17 +2017-05-18 daily /routing/group/ -2017-05-17 +2017-05-18 daily @@ -165,37 +165,37 @@ /routing/collection/ -2017-05-17 +2017-05-18 daily /fluent/package/ -2017-05-17 +2017-05-18 daily /fluent/getting-started/ -2017-05-17 +2017-05-18 daily /fluent/model/ -2017-05-17 +2017-05-18 daily /fluent/database/ -2017-05-17 +2017-05-18 daily /fluent/query/ -2017-05-17 +2017-05-18 daily @@ -205,13 +205,13 @@ /fluent/relations/ -2017-05-17 +2017-05-18 daily /cache/package/ -2017-05-17 +2017-05-18 daily @@ -221,19 +221,19 @@ /cache/overview/ -2017-05-17 +2017-05-18 daily /mysql/package/ -2017-05-17 +2017-05-18 daily /mysql/provider/ -2017-05-17 +2017-05-18 daily @@ -243,13 +243,13 @@ /mysql/driver/ -2017-05-17 +2017-05-18 daily /redis/package/ -2017-05-17 +2017-05-18 daily @@ -259,37 +259,37 @@ /redis/provider/ -2017-05-17 +2017-05-18 daily /auth/package/ -2017-05-17 +2017-05-18 daily /auth/provider/ -2017-05-17 +2017-05-18 daily /auth/getting-started/ -2017-05-17 +2017-05-18 daily /auth/helper/ -2017-05-17 +2017-05-18 daily /auth/password/ -2017-05-17 +2017-05-18 daily @@ -299,7 +299,7 @@ /auth/persist/ -2017-05-17 +2017-05-18 daily @@ -309,55 +309,55 @@ /sessions/sessions/ -2017-05-17 +2017-05-18 daily /http/request/ -2017-05-17 +2017-05-18 daily /http/response/ -2017-05-17 +2017-05-18 daily /http/middleware/ -2017-05-17 +2017-05-18 daily /http/body/ -2017-05-17 +2017-05-18 daily /http/response-representable/ -2017-05-17 +2017-05-18 daily /http/responder/ -2017-05-17 +2017-05-18 daily /http/client/ -2017-05-17 +2017-05-18 daily /http/server/ -2017-05-17 +2017-05-18 daily @@ -367,19 +367,19 @@ /http/cors/ -2017-05-17 +2017-05-18 daily /leaf/package/ -2017-05-17 +2017-05-18 daily /leaf/provider/ -2017-05-17 +2017-05-18 daily @@ -388,7 +388,7 @@ /leaf/leaf/ -2017-05-17 +2017-05-18 daily @@ -397,7 +397,7 @@ /validation/overview/ -2017-05-17 +2017-05-18 daily @@ -407,13 +407,13 @@ /node/package/ -2017-05-17 +2017-05-18 daily /core/package/ -2017-05-17 +2017-05-18 daily @@ -423,13 +423,13 @@ /core/overview/ -2017-05-17 +2017-05-18 daily /bits/package/ -2017-05-17 +2017-05-18 daily @@ -439,13 +439,13 @@ /bits/overview/ -2017-05-17 +2017-05-18 daily /debugging/package/ -2017-05-17 +2017-05-18 daily @@ -455,7 +455,7 @@ /debugging/overview/ -2017-05-17 +2017-05-18 daily @@ -465,13 +465,13 @@ /advanced/modules/ -2017-05-17 +2017-05-18 daily /switch/1_5/ -2017-05-17 +2017-05-18 daily /switch/2_0/ -2017-05-17 +2017-05-18 daily