Skip to content
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

chore: add devcontainer and vscode launch configurations #128

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

Janhouse
Copy link
Contributor

I added VSCode Dev Container configuration, which adds effortless dev environment setup for those who use VSCode and Docker.

It includes VSCode launch configurations for backend and frontend.

From what I tested, all the core dependencies are installed during creation of the container, and npm packages are installed when launching project.

Maybe it could be improved slightly to wait for backend to start before starting frontend, but as I see it, it is not that important.

Here is a short video on how I start it in a few minutes.

Screencast.from.2024-02-24.03-33-37.webm

I tested only on Linux but it should work on Windows and MacOS as well, of course it starts it in a Linux container. Still, I guess most people would run Backrest on a Linux server.

@garethgeorge
Copy link
Owner

garethgeorge commented Feb 27, 2024

This is a really awesome contribution for people looking to get into making changes to the project, thanks for putting this together!

I'll aim to merge this tonight after I have some time to test it.

@garethgeorge garethgeorge merged commit 3176f6e into garethgeorge:main Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants