Comments (10)
Now i get what you mean. 😄
And yes, klipper, moonraker and fluidd (and everything else) gets installed to the home directory. That is hardcoded and that won't get changed, i'm sorry.
from kiauh.
It depends where you clone KIAUH into. You aren't forced to clone KIAUH in the home directory.
It should work in any directory or subdirectory you clone it into.
Or do you experience issues? If yes, please provide error messages.
from kiauh.
yes i mean clone into another directory than home. i can clone the repository in another folder. but the script cannot work. cause it seeking in HOME directory.
i try with create folder ".kiauh" and failed. and then trying again with folder "installer"
the error after cloning and execute the script is like below
/home/octoprint/installer/kiauh/scripts/status.sh: line 3: cd: /home/octoprint/kiauh: No such file or directory
octoprint@HomeAssistant:~/installer/kiauh$
from kiauh.
You are right. There is a hardcoded ${HOME} in the code. Thanks for pointing that out, i will fix the issue and check the script if there are any other spots where i made the same mistake.
from kiauh.
emm it is a little weird. i run the kiauh.sh in the separeted folder (let's say in the "installer" folder) and it is force to create the installation in the home root directory instead in the installer directory?
from kiauh.
What installation are you talking about now exactly?
Klipper?
from kiauh.
sorry to make you confused about this...
i will told you what i have do
- i create folder "simple"
- make simple as active directory with "cd simple"
- do "git clone https://github.com/th33xitus/kiauh.git"
- and "./kiauh/kiauh.sh"
the installation of the klipper, moonraker, and fluidd (cause i install fluidd only) is in the home directory. (/home/octoprint/ in my case), when it supposed need to install in the simple directory (/home/octoprint/simple)
that's why i ask you, are this script force to install in the home directory? i already tried your newest project. it still force install the klipper, moonraker and the fluid in the home directory.
sorry for my bad english, install might means where you save the klipper, moonraker and fluid code
from kiauh.
As a feature request and alternative to allowing arbitrary install locations, perhaps KIAUH could respect the XDG Base Directory Specification if the requisite env vars were set. I may fork KIAUH to try to implement this, and would be happy to submit a PR if @dw-0 was open to it.
from kiauh.
i would like to kinda refrain from using any specification in terms of files or directories to be honest. The issue is almost 3 years old and my view has changed a bit. So IF we allow different installation directories, how about NOT enforcing any specific (base) directory?
as some might have noticed, there is a kiauh rewrite ongoing. at a later stage, i plan to add support for custom installation directories. which should be rather easy to implement afterwards. there is an issue here: #372 that is also added to the milestones already.
from kiauh.
@dw-0 Thanks for the response. Yeah, there's good arguments for not enforcing a particular spec, and taking that approach means folk who want their files in a particular dir (like the XDG_XXXXX_HOME dirs) can do so anyway!
I'll check out the new linked issue, many thanks.
from kiauh.
Related Issues (20)
- feat: possibility to set custom install directory HOT 4
- feat: copy instances/endpoints info while updating mainsail/fluidd HOT 2
- Cloning Klipper from https://github.com/Klipper3d/klipper : failed! HOT 3
- Set name to access in local network HOT 2
- local dep for unzip missing in fluidd.sh and mainsail.sh HOT 1
- Bad ref for git/logs/refs/remotes/origin/protoupdate
- BeagleBone Black and Replicape
- feat: only git clone --depth 1 HOT 1
- Add to main menu installation for BDsensor
- Kiauh custom repo reports differently than what is installed
- Nginx upstreams.conf edit breaks RatOS 2.1 HOT 1
- Repo branch has "()" in the name
- Extend the Katapult support for the full automation of MCU updates
- Update menu error when Spoolman not installed HOT 1
- Feature Request: Access to home directory via `~/` for `[gcode_shell_command]` HOT 1
- possible `rm -rf /` during screen installation HOT 4
- bug: missing nacl Libs HOT 8
- Virtualenv error on fresh bookworm install HOT 3
- Broken link to "OctoApp For Klipper" in readme file HOT 1
- allow offline install from local github repositories for local installation and network resource management HOT 3
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 kiauh.