This repository has been archived on 2023-10-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
wanderer f40ebcfc64
continuous-integration/drone/push Build is passing
makefile: bump kaniko to a cgroupv2-aware revision
2021-08-20 15:28:45 +02:00
2021-02-18 20:23:28 +01:00
2021-02-21 04:10:56 +01:00
2021-02-12 22:18:48 +01:00
2021-02-22 12:54:29 +01:00
2021-05-02 04:08:18 +02:00
2021-03-02 15:45:14 +01:00
2021-02-22 12:54:29 +01:00
2021-02-22 12:54:29 +01:00
2020-12-26 19:28:41 +01:00
2021-02-08 23:13:12 +01:00
2020-11-21 14:21:19 +01:00
2021-02-10 03:26:37 +01:00
2021-02-10 12:01:59 +01:00
2020-10-26 22:47:50 +01:00
2021-01-23 14:25:24 +01:00
2021-02-22 15:28:01 +01:00

pwt-0x01-ng

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

how to run this

  • Makefile (you need make for this) --> see the Makefile
  • direct dotnet (and/or docker) commands

useful Makefile targets

  • restore --> runs dotnet restore .
  • clean --> clean builds the project
  • build --> builds the project
  • dockerdevbuild --> clean-builds a container image from Dockerfile.dev (have a look in there for details)
  • dcdevb --> compose clean build of a debug (dev) version, pulling db
  • dcdevup --> runs the above (see docker-compose.yml)

you need to have created a db beforehand to run these

  • run --> runs $CURRENT_ENV dotnet watch run .
  • dev --> runs restore build run - this is kind of a convenience target

run using dotnet

run the dotnet commands from the solution folder note that a preconfigured db is required for any kind of running the project (consider taking a look at useful makefile targets)

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

S
Description
No description provided
Readme 1.1 MiB
Languages
HTML 47.6%
C# 46.2%
Makefile 2.4%
PLpgSQL 1.3%
CSS 1.1%
Other 1.4%