gtsatsis Posted June 2, 2019 Share Posted June 2, 2019 (edited) Heya, This is the support thread for the VSCode/code-server community application. GitHub Repository Link: https://github.com/gtsatsis/unraid-ca-apps I'll do my best to answer any questions you might have in a timely manner Edited June 2, 2019 by gtsatsis Removed "move this" note Quote Link to comment
brainbudt Posted June 6, 2019 Share Posted June 6, 2019 Hey I want to use this to code python, but how do I download and install python within the docker? Quote Link to comment
gtsatsis Posted June 6, 2019 Author Share Posted June 6, 2019 Hey @brainbudt, I'd heavily suggest against adding Python to the container, as this is only built to host the code-server platform itself. While I can't speak for Python, I've installed the PHP executable in my project space, and added it to my PATH, and it works pretty well. The container does not seem to come with a package manager, as such, you'll either have to compile from source, or get the executables directly somehow, but what I'd suggest it setting up a shared environment with another container that has Python, as such, you'd simply SSH in from the commandline offered by VSCode's UI, and execute your code there. Quote Link to comment
brainbudt Posted June 7, 2019 Share Posted June 7, 2019 Okay I will need to take a look into that, but I have no experience with editting dockers at all. So is it possible to just ad it in ? Quote Link to comment
gtsatsis Posted June 7, 2019 Author Share Posted June 7, 2019 Hey @brainbudt, No, it is not possible to simply add Python into the container. You will have to add it through other means, be that PATH modification and Python's executables being in your project, or using a second container. Quote Link to comment
Chezro Posted September 13, 2019 Share Posted September 13, 2019 (edited) Did I miss something? I'm having a hard time getting git to update my repositories. I configured my user globally and setup ssh keys. Neither is working for me. It commits, however, I don't see changes in my repository. I come from windows vscode with github desktop which is pretty automagic. Please forgive my ignorance. Could you point me in the direction of a knowledge base that can help fill the gap here? The tutorials I've used thus far haven't helped. What I did: I created a directory ~/.ssh and inserted a config file named "config" populated with the following: Host github.com-mygitusername HostName github.com User git IdentityFile ~/.ssh/github-mygitprivatekey I then ran: git config --global user.name "mygitusername" git config --global user.email "[email protected]" git clone [email protected]:mygitusername/PythonProgramming.git PythonProgramming It seems to clone just fine but when I use the UI "checkmark" to commit, nothing is uploaded. I'm sure there's a piece I'm missing due to my git-cli noobness. And thank you for your assistance and time. Update: Quote Fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). coder@d1f8c8e55eae:~/project$ Got this trying to set git remote. Edited September 13, 2019 by Chezro Quote Link to comment
McKnight Posted February 2, 2020 Share Posted February 2, 2020 Hey, First post woop! Just wanted to say that the docker default settings have the docker container port set to 8443 looking at the docker itself it is 8080 meaning if anyone installs this they have to remember to change it. Hope this saves someone the 15 minutes it has taken me to figure it out! Quote Link to comment
dockerPolice Posted February 2, 2020 Share Posted February 2, 2020 FWIW, the app from linux server is set up correctly... A PR has been issued against the template to fix this. If not accepted within a reasonable time (since the template maintainer has not been online for months), then this particular version will be removed from CA in favour of the one from linuxserver. Quote Link to comment
gtsatsis Posted February 2, 2020 Author Share Posted February 2, 2020 @dockerPoliceFeel free to deprecate (or let me know if there's any instructions as to how to do it), I use linuxserver's one nowadays anyway. I made this when linuxserver's one didn't exist. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.