SGF Web Dev 2018 Website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pages
Properties
assets/sass
wwwroot
.gitignore
HorseStrap.csproj
Program.cs
README.md
Startup.cs
appsettings.Development.json
appsettings.json
bundleconfig.json
mix-manifest.json
package-lock.json
package.json
webpack.horse.js
yarn.lock

README.md

HorseStrap

alternativetext

Requirements are

  • .NET Core 2.x
  • NodeJS(>=8)

To download .NET Core, grab the runtime

Mac - https://www.microsoft.com/net/download/macos Windows - https://www.microsoft.com/net/download/windows/build

Install and confirm you have access to it globally by running dotnet --version You shoudl be running 2.1 or greater.

As long as Node is installed as well, you shoudl be good to roll.

CD into the project folder and run dotnet run which will start the Kestel web server and automatically open the site in your browser.

The site is available at at localhost:3000 through BrowserSync which is proxying the .NET Core app from https://localhost:5001. Instructions on how to tweak these ports coming soon.

Styles are located at ~/assets/sass/ and updates to them will be automatically be injected via WebPack. Changes to any Razor(.cshtml) files will trigger a browser refresh through BrowerSync. This will result in far fewer manual browser refreshing.