aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-08-06 08:03:46 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-08-06 08:03:46 +0300
commit81270330e2eb4ad78b037fa46139c5de1c7ece68 (patch)
tree519b4c19d18558c9d13172d16bc79b229d87d348
parentff09af0e3338a55c89d2846454d360e702d4e742 (diff)
downloadTango-81270330e2eb4ad78b037fa46139c5de1c7ece68.tar.gz
Tango-81270330e2eb4ad78b037fa46139c5de1c7ece68.zip
Environment creation instructions.
-rw-r--r--Software/Visual_Studio/Notes/Tango.Notes/Azure/New Environment.txt35
-rw-r--r--Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj3
2 files changed, 37 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Notes/Tango.Notes/Azure/New Environment.txt b/Software/Visual_Studio/Notes/Tango.Notes/Azure/New Environment.txt
new file mode 100644
index 000000000..e3e7191ae
--- /dev/null
+++ b/Software/Visual_Studio/Notes/Tango.Notes/Azure/New Environment.txt
@@ -0,0 +1,35 @@
+1. Add new webapp/slot.
+
+2. Assign a sub domain to the webapp/slot.
+
+3. Assign an SSL certificate to the webapp/slot address.
+
+4. Create a new AD group e.g "Tango DEV".
+
+5. Create a new database e.g "Tango_DEV".
+
+6. Synchronize the DB schema.
+
+7. Synchronize the DB data.
+
+8. Execute the following script for adding the AD group to the new database:
+ (Login to the DB using an AD account first e.g roy@twine-s.com)
+
+CREATE USER [Tango DEV] FROM EXTERNAL PROVIDER
+GO
+
+ALTER ROLE db_datareader ADD MEMBER [Tango DEV];
+GO
+
+ALTER ROLE db_datawriter ADD MEMBER [Tango DEV];
+GO
+
+9. Create a new storage blob container for the machine studio versions.
+
+10. Create a new storage blob container for the PPC versions.
+
+11. Populate the webapp/slot settings with the proper information.
+
+12. Add a new enum value to Tango.Web\DeploymentSlot.cs
+
+13. Publish MachineService to the new webapp/slot. \ No newline at end of file
diff --git a/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj b/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj
index 2e8171a87..f4ded7695 100644
--- a/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj
+++ b/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj
@@ -44,6 +44,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="Advanced Installer\License.txt" />
+ <Content Include="Azure\New Environment.txt" />
<Content Include="Azure\Test User Credentials.txt" />
<Content Include="Azure\SQL Database.txt" />
<Content Include="DB\SQL Dependency.txt" />
@@ -58,7 +59,7 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>
- <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" />
+ <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" />
</VisualStudio>
</ProjectExtensions>
</Project> \ No newline at end of file