Skip to content

Commit

Permalink
Deployed the application to Heroku!
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyOnePro committed Jan 20, 2021
1 parent 35607a6 commit 7e9e17c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 30 deletions.
25 changes: 0 additions & 25 deletions .dockerignore

This file was deleted.

3 changes: 2 additions & 1 deletion NStart/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ RUN dotnet publish "NStart.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "NStart.dll"]
#ENTRYPOINT ["dotnet", "NStart.dll"]
CMD ASPNETCORE_URLS=http://*:$PORT dotnet NStart.dll
5 changes: 3 additions & 2 deletions NStart.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NStart", "NStart\NStart.csp
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9C6F437A-D08D-4C1C-9F4D-2609B0B2126C}"
ProjectSection(SolutionItems) = preProject
Dockerfile = Dockerfile
README.md = README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{16075A44-C4E5-4CDA-9083-ABD1771DA75F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NStart.Tests.FunctionalityTests", "NStart.Tests.FunctionalityTests\NStart.Tests.FunctionalityTests.csproj", "{14832644-282E-4965-8B8D-5B9DA5F6E9A4}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NStart.Tests.FunctionalityTests", "NStart.Tests.FunctionalityTests\NStart.Tests.FunctionalityTests.csproj", "{14832644-282E-4965-8B8D-5B9DA5F6E9A4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NStart.Tests.IntegrationTests", "NStart.Tests.IntegrationTests\NStart.Tests.IntegrationTests.csproj", "{7FBF759B-6F0C-4942-BE91-35E95D3881E6}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NStart.Tests.IntegrationTests", "NStart.Tests.IntegrationTests\NStart.Tests.IntegrationTests.csproj", "{7FBF759B-6F0C-4942-BE91-35E95D3881E6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
4 changes: 4 additions & 0 deletions NStart/NStart.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>

<ItemGroup>
<None Remove=".dockerignore" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.16.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="5.0.1" />
Expand Down
3 changes: 1 addition & 2 deletions NStart/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.min.css"
asp-fallback-href="~/lib/bulma/dist/css/bulma.css"
asp-fallback-test-class="is-primary"
crossorigin="anonymous"
integrity="sha256-8BrtNNtStED9syS9F+xXeP815KGv6ELiCfJFQmGi1Bg=" />
crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.0/animate.min.css"
asp-fallback-href="~/lib/animatecss/dist/animate.css"
asp-fallback-test-class="animate__bounce"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ to make a small and Open Source project that **anyone** can use without any comp

I didn't knew that `dopresskit()` was a "thing"... And I wasn't able to install it on my development server, so I deemed that project dead and decided to continue open sourcing this.

*A public instance is running on [Heroku](https://nstart.herokuapp.com/our-team) using the same Dockerfile and Herkou Containers.*

## What technologies uses this project?

- ASP.NET Core 5: Using the world's second largest technology stack, we can deliver a fast and reliable platform that will not fail you.
Expand Down

0 comments on commit 7e9e17c

Please sign in to comment.