GithubHelp home page GithubHelp logo

Running without docker about wave HOT 3 OPEN

4censord avatar 4censord commented on May 20, 2024
Running without docker

from wave.

Comments (3)

miawinter98 avatar miawinter98 commented on May 20, 2024

Well, looking around the web a bit, it seems this is a use-case no one has ever required before.. the issue is basically that the project file is configured for docker, which changes the way c# and asp.net behave, and while fixing that would probably just be one or two lines in the project file, the project itself assumes certain configurations about the host system that it's container will fulfill.. like the /app/files or /app/configuration directories existing. I can put it on my list to find solutions for, probably need a secondary project file for building a standalone version, but it won't be as simple as just adding that to make it run without issues without a container.

from wave.

MechWipf avatar MechWipf commented on May 20, 2024

It should already be possible to run wave outside of a container.

  • Create a publish package with dotnet publish Wave/Wave.csproj
  • Copy the publish folder onto a machine with the .net8 runtime installed
  • Run dotnet Wave.dll inside the publish folder (don't forget to provide the correct environment variables)

The files (/app/files in the docker image) folder will be relative to your work directory.
Regarding /configuration, this should be made configurable via appsettings.json (And to be fair, everything in config.* should be configurable in this file)

Edit: And should means I tested that this works.

from wave.

4censord avatar 4censord commented on May 20, 2024

oh nice, thank you!

Do you know if there is any way to have dotnet run create a more helpfull error message, maybe pointing to this issue?

from wave.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.