Skip to content

Commit

Permalink
Update .sln and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marvac committed Apr 24, 2019
1 parent 0d43622 commit ec474b0
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 43 deletions.
27 changes: 0 additions & 27 deletions Client/README.md

This file was deleted.

28 changes: 21 additions & 7 deletions Client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions Friendster.sln
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.168
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.156
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Friendster", "Friendster.csproj", "{26EBD09E-0FAB-484A-9ED2-D647BA2A48B3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Friendster.Tests", "..\Friendster.Tests\Friendster.Tests.csproj", "{FA0E7A84-6461-4826-AAA3-A5D380406BFB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -17,10 +15,6 @@ Global
{26EBD09E-0FAB-484A-9ED2-D647BA2A48B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{26EBD09E-0FAB-484A-9ED2-D647BA2A48B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{26EBD09E-0FAB-484A-9ED2-D647BA2A48B3}.Release|Any CPU.Build.0 = Release|Any CPU
{FA0E7A84-6461-4826-AAA3-A5D380406BFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FA0E7A84-6461-4826-AAA3-A5D380406BFB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FA0E7A84-6461-4826-AAA3-A5D380406BFB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FA0E7A84-6461-4826-AAA3-A5D380406BFB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# Friendster

Sample social media web app, designed to debug with Visual Studio 2017+

## Prereqs
>[Visual Studio 2017](https://www.visualstudio.com/downloads/)
>[Current .NET core SDK](https://www.microsoft.com/net/download/core)
>[NPM](https://www.npmjs.com/get-npm)
## Quick Start

In the terminal at the root of the `\Client` folder:

`npm install`

Then in the terminal at the root of `\Friendster`

`dotnet ef database update`


Then run the project from Visual Studio (ctrl + F5)
5 changes: 4 additions & 1 deletion Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,12 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, Seeder s
app.UseStaticFiles();
app.UseMvc(routes =>
{
routes.MapSpaFallbackRoute(
if (env.IsProduction())
{
routes.MapSpaFallbackRoute(
name: "fallback",
defaults: new { controller = "Fallback", action = "Index" });
}
});

app.UseSpa(spa =>
Expand Down

0 comments on commit ec474b0

Please sign in to comment.