This repository has been archived on 2023-10-28. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
surtur e64d137b2a
merge: bring in kaniko builds
commit 3a155798a9
Author: surtur <a_mirre@utb.cz>
Date:   Wed Dec 2 03:08:12 2020 +0100

    rm: get rid of unused launch settings

    [skip ci]

commit 3f775a110b
Author: surtur <a_mirre@utb.cz>
Date:   Sun Nov 29 21:08:11 2020 +0100

    fix: clean build after restore

    * this fixes occasional situation when NuGets have not been restored yet
      but the clean build already running required them, which resulted a
      failed build

commit 42c6dfd3ba
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 20:05:30 2020 +0100

    chore: update make kaniko

    * skip ci

commit 1cc3df6619
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 18:58:48 2020 +0100

    chore: rm debug ls call

    skip ci

commit befe7880fc
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 18:58:27 2020 +0100

    revert: set kaniko context back to "."

    skip ci

commit 15d7de1996
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 18:58:06 2020 +0100

    chore: add make kaniko

    * skip ci

commit 5ed341f4ae
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 17:13:27 2020 +0100

    refactor: merge pipelines back

commit 732cd7d717
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 17:12:39 2020 +0100

    chore: don't wait and build

commit 11a9ab07ab
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 17:11:08 2020 +0100

    revert: kaniko don't give a **** about relpaths

commit a581457326
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 16:23:28 2020 +0100

    debug: see where we are

commit 1ef9a6831f
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 15:58:50 2020 +0100

    chore: try /src workspace for kaniko

commit 11d796f0dd
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 15:30:21 2020 +0100

    chore: add /src context for kaniko

commit 4b58c3f584
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 15:22:18 2020 +0100

    fix: rel paths are nicer to kaniko

commit 63601f7f47
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 15:16:57 2020 +0100

    chore: run wherever

commit 54fb45ec65
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 15:06:42 2020 +0100

    refactor: effectively revert 907a470 and 63bde0a

commit eece1e3dba
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 14:52:23 2020 +0100

    chore: move dockerbuilds to a separate pipeline

    * and run them on the main runner

commit 907a4702d8
Author: surtur <a_mirre@utb.cz>
Date:   Fri Nov 27 14:47:03 2020 +0100

    chore: give kaniko relative paths in Dockerfile
2020-12-02 03:09:34 +01:00
Areas/Admin chore: move upload stuff to MegaUpload class 2020-11-21 21:45:00 +01:00
Controllers chore: add fake data source for admin carousel 2020-11-05 20:42:34 +01:00
Models chore: move upload stuff to MegaUpload class 2020-11-21 21:45:00 +01:00
Properties merge: bring in kaniko builds 2020-12-02 03:09:34 +01:00
Views refactor: render section independently of the env 2020-11-26 00:23:05 +01:00
wwwroot chore: adding carousel item deletion 2020-11-05 23:05:49 +01:00
.drone.yml merge: bring in kaniko builds 2020-12-02 03:09:34 +01:00
.gitignore chore: add vim swps to the list of the ignored 2020-11-26 01:46:37 +01:00
Dockerfile merge: bring in kaniko builds 2020-12-02 03:09:34 +01:00
Dockerfile.dev merge: bring in kaniko builds 2020-12-02 03:09:34 +01:00
LICENSE feat: add LICENSE file 2020-11-21 14:21:19 +01:00
Makefile merge: bring in kaniko builds 2020-12-02 03:09:34 +01:00
Program.cs initial commit 2020-10-26 22:47:50 +01:00
README.md chore: update README.md with run instructions 2020-11-21 14:20:30 +01:00
Startup.cs chore: run debug on non-https localhost 2020-11-21 13:59:20 +01:00
appsettings.Development.json initial commit 2020-10-26 22:47:50 +01:00
appsettings.json initial commit 2020-10-26 22:47:50 +01:00
global.json feat: target 2.1.811 in global.json 2020-11-27 13:48:06 +01:00
pwt-0x01-ng.csproj chore: update {run,build} configuration in .csproj 2020-11-21 14:06:05 +01:00
pwt-0x01-ng.sln initial commit 2020-10-26 22:47:50 +01:00

pwt-0x01-ng

this repo holds sawce for PWT .netcore mvc project 0x01-ng

how to run this

run the following commands from the solution folder

on the first run, restore stuff

dotnet restore

build and run

dotnet build && dotnet run

errors

if you get a weird long error about not being able to listen bind a port, make sure nothing else is listening on the port this thing is trying to bind (tcp/5000).
if something else is already listening, solve it by killing it before running dotnet run or change the app port in Properties/launchSettings.json