New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make settings persistant? #836
Comments
Good question; but I think it's a session/cookie thing, meaning it's only persisted in the browser. I'd love to be proven wrong though. |
I think you're right. |
So I think I might have this fixed, try these volumes and see if that helps. The .cncjs-sessions is a folder, .cncrc is a file. You will need to create a blank file for the .cncrc, or it will create a folder
|
Thanks for the advice but there is no files in my .cncjs-sessions and the .cncrc only involve a token to a session where the settings are stored. However, locating the secret is one of two keys for persistance I think. |
Perhaps the key is to figure out where cncjs-app-1.10.3.json is located and after exported have it bound. |
Description
I'm sick of having to make all the settings every now and then, and everytime I redeploy the Docker-image (yes, I'm running the contianerversion).
I fail to see any file that I can bind with Docker but also have limited knowledge of you NPM and NodeJS work.
Thanks for a great CNC-router controller though. It's awesome when it works :)
Versions
How Do You Install CNCjs?
CNC Controller
Hardware
Operating System
The text was updated successfully, but these errors were encountered: