question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Github codespaces and Vscode devcontainers

See original GitHub issue

I have found that it is extremely helpful dev particularity new devs to have reproducible dev environments. Github code spaces and devcontainers are a great way of supporting this.

In my fork I have gone the new dev work flow down to.

  1. clone the repo
  2. open in vscode and edit the .env.example file to include your foundry username and password rename to .env
  3. hit the popup to reopen in a container
  4. wait for the container to build
  5. run npm run build
  6. open foundry on http://localhost:30001 and enter admin password pf2edev

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
stwlamcommented, Aug 21, 2022

Go ahead and make a PR, and we’ll look it over.

0reactions
BCNelsoncommented, Aug 21, 2022

I agree that committing files for every IDE is an awful idea, that is not what I’m suggesting. Development Containers are an open standard and have tight integration with Github, this projects repository and continuous integration provider of choice.

The point of this is to lower the barrier for entry to new contributors. I think that it is hard for you to see all of the benefits as you have been working on this project regularly for a very long time. As such you are very comfortable with the current flow.

Ether way it is not a big deal for me. I can continue to use my fork with the necessary configuration changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction to dev containers - GitHub Docs
You can add and edit the supported configuration keys in the devcontainer.json file to specify aspects of the codespace's environment, like which VS...
Read more >
Code From Anywhere: Dev Containers and Github Codespaces
Github Codespaces are containers running in the cloud that you connect to via VS Code. They are often talked about in conjunction with...
Read more >
Add support for devcontainers to facilitate GitHub Codespaces ...
A repository of development container definitions for the VS Code Dev Containers extension and GitHub Codespaces - vscode-dev-containers/ ...
Read more >
Introduction to GitHub Codespaces - Building your first Dev ...
The devcontainer.json file tells Visual Studio Code (and other services and tools that support the format) how to access (or create) a ...
Read more >
VS Code Remote / GitHub Codespaces Development ...
devcontainer /devcontainer.json file added to your folder. Run Remote-Containers: Reopen in Container to use it locally, or Codespaces: Rebuild Container from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found