Comments (16)
On unix systems, we may start searching in /etc/teddyCloud/
Actually it would be /usr/local/etc/teddyCloud
from teddycloud.
And while I'm reading, I think #112 is already the first part of this issue solved 👍
from teddycloud.
I would suggest to make the default configurable at compile time (for data and for config), and then have an option like suggested to use another config file. One might want to quickly test changes by copying the config.ini to a config2.ini or whatever to test some temporary changes. Not sure if there is a use case for changing the data dir at runtime. Maybe if you'd want to run different instances at the same time?
from teddycloud.
At compile time is a good idea, just setting a compiler-var to override the default set in the Makefile.
The data dir can be set in the configfile itself, so I see no need to override it, if you can override the configfile.
from teddycloud.
The data dir can be set in the configfile itself
Ah nice, didn't know that! Haven't been looking too hard tbh
from teddycloud.
use /usr/local/etc/teddycloud as base dir for data/config/certs if exists.
fix path for symbolic link
With those commits, /usr/local/etc/teddycloud will be checked for existence and if so the internal (relative) paths will be rerouted to that location.
A cli option is missing, but overriding BASE_PATH can set this path to a custom location.
from teddycloud.
Oh wow, you guys are incredibly fast! I don't think you need /usr/local/etc/.. for the container though. You could either go with what you had or use /etc/, as this seems to be the standard for Linux (don't take my word for it, haven't done much on Linux for some time). I'll go and fork your dev branch. If I come up with something I can sen you a change request.
from teddycloud.
Just read, that /etc is for mostly for system related thing, so went for /usr/local/etc as it was also existing. I added /etc as an alternative option, for the container it will shorten the path a bit.
I added it to the container for one reason: have an absolute config path, so you can call the teddyCloud executable not only from /teddycloud
from teddycloud.
Ah yes, I totally agree! Having an absolute Path is exactly what you want.
from teddycloud.
@SciLor is it possible that the workflow for change requests is slightly broken? There seem to be issues that I think are not related to my changes. #108
from teddycloud.
The workflows don't run until the end, if the user is not allowed to push the docker image. So it fails at this point and cannot do the smoke test. (I currently have solution for that).
But as long as the zip generation workflow is fine (and the docker based workflows are running to this point) this is fine, as the bills itself is working.
from teddycloud.
@SciLor with the current develop branch I'm good to go. My port is installing and running fine, with everything where it should belong. What is your current release cycle? I had to create my own release on my fork, but don't want to use that as a base for the port.
from teddycloud.
We do releases, as soon as the current develop branch made some progress, has some changes that fix critical bugs and is tested well.
We can do a release at any point. If you need one for clean progress, we can create a new one ..
from teddycloud.
A new release would make me very happy at this point :)
from teddycloud.
Thanks heaps @SciLor ! Now it's just waiting: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276541
from teddycloud.
done with the enhanced cli
from teddycloud.
Related Issues (20)
- Webinterface https not reachable - get 401 HOT 3
- Question: HomeAssistant MQTT: content picture when no content is playing HOT 2
- Provide timestamps for taf file (track)
- Add basic metadata to custom TAFs (Series/Episode/ImageURL) HOT 3
- Provide functionality to search a taf/tap within library
- Extend gettagindex api HOT 4
- Open new web interface directly HOT 2
- HTTP code 401 when I place a figure on the Toniebox HOT 2
- MQTT: Toniebox picture as default image HOT 1
- MQTT: missing image/title on webstream assigned (custom) Tonies HOT 1
- Reading flash from ESP fails at 99.99% HOT 1
- cant migrate TAF Files with AudioID "1" HOT 1
- Managing taf files by AudioID HOT 3
- Permanent download the Images and do not link to tonies website HOT 5
- how to delete of "old" Tonies? HOT 1
- Teddycloud With a Fully Qualified Domain and Behind a Reverse Proxy HOT 2
- HowTo: Picture Path to use picture fro travel Tonie HOT 3
- Change "Prioritize custom content" default HOT 1
- Set sourceInfo picture on streams to on air / live icon HOT 2
- Freshnesscheck API
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 teddycloud.