diff --git a/Content/.template.config/template.json b/Content/.template.config/template.json index cd1b55e1..a5b1acb0 100644 --- a/Content/.template.config/template.json +++ b/Content/.template.config/template.json @@ -38,33 +38,32 @@ ".paket/**", ".vscode/**", ".editorconfig", - "RELEASE_NOTES.md", "**/paket.*", "*.fsx", - "src/SAFE.App.Client/package.default.json", - "src/SAFE.App.Client/package-lock.default.json", - "src/SAFE.App.Client/webpack.default.config.js", + "src/Client/package.default.json", + "src/Client/package-lock.default.json", + "src/Client/webpack.default.config.js", "README.md" ], "condition": "(minimal)" }, { "exclude": [ - "src/SAFE.App.Client/package.minimal.json", - "src/SAFE.App.Client/package-lock.minimal.json", - "src/SAFE.App.Client/webpack.minimal.config.js", + "src/Client/package.minimal.json", + "src/Client/package-lock.minimal.json", + "src/Client/webpack.minimal.config.js", "README-minimal.md" ], "condition": "(!minimal)" }, { "rename": { - "src/SAFE.App.Client/webpack.default.config.js": "src/SAFE.App.Client/webpack.config.js", - "src/SAFE.App.Client/webpack.minimal.config.js": "src/SAFE.App.Client/webpack.config.js", - "src/SAFE.App.Client/package.minimal.json": "src/SAFE.App.Client/package.json", - "src/SAFE.App.Client/package.default.json": "src/SAFE.App.Client/package.json", - "src/SAFE.App.Client/package-lock.minimal.json": "src/SAFE.App.Client/package-lock.json", - "src/SAFE.App.Client/package-lock.default.json": "src/SAFE.App.Client/package-lock.json", + "src/Client/webpack.default.config.js": "src/Client/webpack.config.js", + "src/Client/webpack.minimal.config.js": "src/Client/webpack.config.js", + "src/Client/package.minimal.json": "src/Client/package.json", + "src/Client/package.default.json": "src/Client/package.json", + "src/Client/package-lock.minimal.json": "src/Client/package-lock.json", + "src/Client/package-lock.default.json": "src/Client/package-lock.json", "README-minimal.md": "README.md" } } diff --git a/Content/README-minimal.md b/Content/README-minimal.md index 91f3d27a..68e64883 100644 --- a/Content/README-minimal.md +++ b/Content/README-minimal.md @@ -11,13 +11,13 @@ You'll need to install the following pre-requisites in order to build SAFE appli ## Starting the application Start the server: ```bash -cd src\SAFE.App.server\ +cd src\Server\ dotnet run ``` Start the client: ```bash -cd src\SAFE.App.Client\ +cd src\Client\ npm install npm run start ``` diff --git a/Content/SAFE.App.sln b/Content/SAFE.App.sln index 8ec6dbc0..8823cc28 100644 --- a/Content/SAFE.App.sln +++ b/Content/SAFE.App.sln @@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.27004.2005 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Client", "src\SAFE.App.Client\SAFE.App.Client.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B855}" +Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "SAFE.App.Shared", "src\Shared\SAFE.App.Shared.fsproj", "{28F090FB-E75F-4BE9-9E09-A70B1DA02C88}" EndProject -Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Server", "src\SAFE.App.Server\SAFE.App.Server.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B856}" +Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Server", "src\Server\SAFE.App.Server.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B856}" EndProject -Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "SAFE.App.Shared", "src\SAFE.App.Shared\SAFE.App.Shared.fsproj", "{28F090FB-E75F-4BE9-9E09-A70B1DA02C88}" +Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Client", "src\Client\SAFE.App.Client.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B855}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{08CCFCF6-2248-43ED-A6EF-E972A2DA0E6A}" ProjectSection(SolutionItems) = preProject diff --git a/Content/build.fsx b/Content/build.fsx index 08624254..358cc5db 100644 --- a/Content/build.fsx +++ b/Content/build.fsx @@ -10,8 +10,8 @@ open Farmer.Builders Target.initEnvironment () -let serverPath = Path.getFullName "./src/SAFE.App.Server" -let clientPath = Path.getFullName "./src/SAFE.App.Client" +let serverPath = Path.getFullName "./src/Server" +let clientPath = Path.getFullName "./src/Client" let deployDir = Path.getFullName "./deploy" let npm args workingDir = diff --git a/Content/src/SAFE.App.Client/Client.fs b/Content/src/Client/Client.fs similarity index 100% rename from Content/src/SAFE.App.Client/Client.fs rename to Content/src/Client/Client.fs diff --git a/Content/src/SAFE.App.Client/SAFE.App.Client.fsproj b/Content/src/Client/SAFE.App.Client.fsproj similarity index 93% rename from Content/src/SAFE.App.Client/SAFE.App.Client.fsproj rename to Content/src/Client/SAFE.App.Client.fsproj index eac22de7..caee687d 100644 --- a/Content/src/SAFE.App.Client/SAFE.App.Client.fsproj +++ b/Content/src/Client/SAFE.App.Client.fsproj @@ -16,7 +16,7 @@ - +