NikolaiMagnussen / vinapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vinapp

Installering av .net core + Visual studio

  • Sjekk om du har DotNet installert, og evt hvilken versjon av CLI
  • Run dotnet --version (displays Dot Net Core CLI version)
  • Siste versjon av CLI er 1.0.0-preview2-1-003177
  • DotNet Core 1.1 er siste versjon Dot Net runtime
  • https://go.microsoft.com/fwlink/?LinkID=835014

Frontend dependencies

  • Download and install npm
  • Run in cmd/terminal from the root of the project: npm install //installs all npm dependencies from package.json
  • To watch changes in the sass file run: npm run watch-css (To only compile the sass once, run: npm run build-css)

Entity Framework

  • Open CMD, cd to vinapp\src\Vinapp.Data, run dotnet ef database update. For more EF commands, see: official page
  • To verify the database was created, open SQL Server Object Explorer window in VS and expand (localdb)\MSSQLLocalDB. There should be a database Vinapp.Context

Asp.Net Core

  1. Load Vinapp.sln in Visual Studio. It is located in /api/Vinapp/
  2. Restore packages by running dotnet restore from pmc, and build the solution.
  3. Run the project with F5 (Or dotnet build, then dotnet run if you're using a different IDE)
  4. The application can be found at localhost:9888/index.html
  5. The API can be found at localhost:9888/swagger/index.html

Known setup issues

** The imported project "C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found.Confirm that the path in the declaration is correct, and that the file exist on disk.

  • Verify that you have Visual Studio 2015 with update 2 (or VS 2017), if the issue still exists, try to go to control panel -> uninstall or change a program -> Select VS 2015 -> Change -> Repair

##Vinapp idè og historie alt tag ##Vinlotteriet i dag

  • Manuell registrering
  • Betaling basert på tillit
  • Krever oppmøte på kontoret eller PA
  • Feil i trekning
  • Tar seg dårlig ut i et konsulentselskap alt tag

##Arkitektur alt tag

About


Languages

Language:C# 85.3%Language:JavaScript 7.5%Language:CSS 4.7%Language:HTML 2.4%