feat: Adds experiment launch script

This commit is contained in:
henrik
2024-12-23 00:48:26 +01:00
parent 7c10b31b2d
commit 9b022b296a
5 changed files with 15 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
web: cd /app/pushy && dotnet /app/pushy/Pushy.dll
silo: cd /app/silo && dotnet /app/silo/Pushy.Silo.dll
web: run-web.sh
silo: run-silo.sh

View File

@@ -25,6 +25,8 @@ WORKDIR "/src/Pushy/Pushy"
RUN dotnet build "Pushy.csproj" --no-restore -c $BUILD_CONFIGURATION -o /app/pushy
COPY .dokku/Procfile /app/.dokku/Procfile
COPY run-silo.sh /app/run-silo.sh
COPY run-web.sh /app/run-web.sh
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
@@ -40,4 +42,6 @@ FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
COPY --from=publish /app/.dokku /app/.dokku
COPY --from=publish /app/*.sh /app/
ENTRYPOINT ["sh"]

View File

@@ -0,0 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/WebPathMapping/MappedPaths/=WWWROOT_005C_005FFRAMEWORK_005CBLAZOR_002EWEB_002EJS/@EntryIndexedValue"></s:String>
<s:String x:Key="/Default/CodeInspection/WebPathMapping/PathsInCorrectCasing/=WWWROOT_005C_005FFRAMEWORK_005CBLAZOR_002EWEB_002EJS/@EntryIndexedValue">wwwroot\_framework\blazor.web.js</s:String></wpf:ResourceDictionary>

3
run-silo.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
cd /app/silo
dotnet Pushy.Silo.dll

3
run-web.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
cd /app/pushy
dotnet Pushy.dll