Comments (3)
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wave.