Comments (5)
I thought about that but I cannot find a clear use-case for it. And currently im the one maintaining the deployment, so I can update the config manually just by redeploying.
How should I run the project with an external config? I don't think external config file should be shared publicly also. :/ Any good suggestion?
from cloud-game.
@giongto35, I was thinking to add some kind of json config file for workers to be able to override a default libretro configuration, because right now it is a little bit annoying when you have to change hardcoded Linux core lib paths in config.go files and then recompile the whole app, also it is easy to mess up that way and push your config into the repository.
What I think, maybe, it would be better to define the main configuration object with some default values and if you need to change them then allow to override it by running overworker with a cmd param -c /path/to/my.config.json pointing to a file with your desirable value overrides and keep your config in secret if you will.
from cloud-game.
It is a valid concern. As we discuss in #105, we can see the need for external config.
If your usecase is watching from a local file and update, it can work. However, how to make it is publicly contributed, and update all servers according to that, then it's a problem. I prefer doing the proper way, to solve both use cases. One of my thinking is to have a config repo, and any change will update the config file in all servers.
https://github.com/breser/git2consul
It's quite tedious and I think i cannot prioritize it now. I think the service is not so big, so build is not so slow. Do you run using go run cmd/overlord/main.go
and go run cmd/overworker/main.go
?
from cloud-game.
You are right, it's not that important, I will add all that I want in my fork. Feel free to close this issue in case you don't need it.
Do you run using go run cmd/overlord/main.go and go run cmd/overworker/main.go ?
Nope, make build & make run each time (: Will try as you said. (I've been working with Go just for a couple weeks and not yet familiar with its toolchain and syntax)
from cloud-game.
yes, with go run cmd/overlord/main.go
and go run cmd/overworker/main.go
. It will be more comfortable.
And for updating emulator related stuff, rerun cmd/over/overworker/main.go
is enough :D
from cloud-game.
Related Issues (20)
- Support function parameters when bypassing LibCo cores HOT 1
- make dev-run error~ HOT 1
- unable to use turn servers with credentials or multiple stun servers. HOT 4
- Only player one slot works HOT 1
- Investigate fatal: morestack on g0 after the migration to Go 1.21.0 HOT 1
- USB gamepad HOT 4
- Controllers do not work in the fullscreen mode HOT 6
- [Question] supported game system? HOT 10
- Port Libretro frontend to C
- Fix concurrent app start/close in the same room
- Reimplement aspect ratio
- can it support android app? HOT 6
- No games List HOT 1
- Add forced fullscreen option HOT 1
- New Go's 1.2(1)2 heap allocator crashes the app HOT 4
- Where are all the games stored? HOT 1
- dev run in windows failed HOT 1
- How to play win95 and win98 games HOT 8
- Does the project support PSP games? HOT 3
- Does your project support rtmp or other push modes HOT 1
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 cloud-game.