Questions tagged [github-codespaces]
114 questions
1
vote
1 answer
dotfiles (zsh setup) in GitHub Codespaces: no effect
I'm trying to get GitHub codespaces to recognize my dotfiles, to auto-setup zsh shell.
When I enter a codespace, either on the web or from VSCode the dotfiles have no effect. No error message either.
Here's what I've done
Created a public dotfiles…

ultraGentle
- 5,084
- 1
- 19
- 45
0
votes
0 answers
GitHub codespace forwarded port local address not correct
I have a docker compose setup that I have configured to be able to deploy to Codespaces. However when when setup completes, the URL for the forwarded port creates a download response instead of taking me to the web server. However, when access the…

Jon Erickson
- 1,876
- 4
- 30
- 73
0
votes
0 answers
How to add dotnet user-secrets in a devcontainer.json file for GitHub Codespaces?
I want to create a devcontainer.json file that does the following:
Installs .NET SDK, Nodejs, Git and Git LFS.
Installs some custom extensions to VS code.
Runs some commands on the terminal when the container is created to add user secrets to a…

Jossean Yamil
- 850
- 2
- 9
- 22
0
votes
0 answers
Automating Configuration of devcontainer.json in GitHub Codespaces with Frequently Used VSCode Extensions
I am utilizing GitHub Codespaces with VSCode Remote to streamline my development workflow. However, every time I create a new Codespace, I find myself manually configuring the devcontainer.json file to include the VSCode extensions that I frequently…

Safwan Amin
- 75
- 3
0
votes
0 answers
Runtime variables not accessable in build context
i'm using Github's codespaces to spin up a dev container with vscode using docker-compose and a custom dockerfile that extends their prebuilt dev containers
My dockerfile
ARG VARIANT="8.0"
# Stage 2: Run the application using Microsoft PHP…

Kendall
- 5,065
- 10
- 45
- 70
0
votes
1 answer
Change HOSTNAME variable in github codes
My team has been using docker-compose and nginx for a number of projects, and testing them using ubuntu servers.
We are looking into using github-codespaces, but notices that they have a number of environmental variables already set, most important…

Flotolk
- 313
- 1
- 11
- 37
0
votes
1 answer
Java and Kotlin interoperability in github codespaces
I'm running a gradle project with Kotlin and Java source code. I need to configure the testing environment in GitHub codespaces with VS code, I cannot use JetBrains Gateway. Even though the Gradle tasks are running successfully, the project is being…

Adam Kaźmierczak
- 1
- 1
0
votes
0 answers
How Can I initialize React-Native project on Github CodeSpace(Linux)
I want to start my RN project on github codespace. But there is the problem to initialize RN project.
My codespace's program version is as follow.
pic:program version
And I install android command line tools and sdk correctly(in my thought).…

Dustbox
- 1
0
votes
0 answers
How can I use React-Native on CodeSpace(Github)?
I want to use React-Native on Github CodeSpace. Because in my situation(I'm a soldier so I have to use a public computer with bad specifications and that computer is reset every time I turn it on and on), I can only use cloud IDE like…

Dustbox
- 1
0
votes
0 answers
Vite + CodeSpaces + Axios API call - config proxy versus env variable
When using CodeSpaces as my dev environment (not sure if that is an important difference), and I have a Vite React app and an Azure Functions API app, the proxy in the config file doesn't seem to work as I thought it would.
If I add a proxy with the…

CoreDev
- 1
0
votes
0 answers
Can't connect to my kernel in jupyter-lab on GitHub Codespaces
I am setting up GitHub Codespaces for my project.
I have my .devcontainer configuration with a following Dockerfile:
FROM condaforge/mambaforge:latest
RUN apt-get update && apt-get install sudo gcc --yes && apt-get clean
RUN mamba install -c…

maciek
- 1,807
- 2
- 18
- 30
0
votes
1 answer
Command not found when ran with execSync in github Codespace
I am using a github codespace to test a discord.js bot. In it i use the command fortune | cowsay which uses the fortune and cowsay commands, the fortune command is installed with sudo apt install fortune-mod and cowsay with sudo apt install cowsay.…

theyobros
- 1
- 1
0
votes
0 answers
devcontainer.json not working. postCreateCommand not working
Nothing is executing after creating codespace
https://github.com/chir263/exp-aes-iiith
Please help resolving issue

Chirag Jain
- 61
- 3
0
votes
0 answers
import all private and public repos into one github codespace
I am looking to import all private and public repos into one github codespace workspace. How do I do it? If I clone manually from the git repo into workspaces after editing I am facing authentication errors during git commit.

Gary
- 2,293
- 2
- 25
- 47
0
votes
0 answers
Auth URI Rederects for Facebook doesn't work with Github Codespaces
I was using Meta Graph API. In its authentication workflow, it needs a redirect uri. As I am devloping in github codespaces, when I put the redirected port of github codespaces as Whitelisted URLs. It still keeps on showing error in auth flow.
How…

concaption
- 76
- 6