openfoodfacts / search-a-licious

🍊🔎 A pluggable search service for large collections of objects (like Open Food Facts)
https://search.openfoodfacts.org
GNU Affero General Public License v3.0
6 stars 4 forks source link

chore: add initial devcontainer.json config #36

Open prometheas opened 1 year ago

prometheas commented 1 year ago

What

Screenshot

N/A

Fixes bug(s)

N/A

Part of

N/A

alexgarel commented 1 year ago

Hi @prometheas, can you explain it a bit to me ? Isn't the docker-compose sufficient ?

If it adds some new capabilities, could you add a small explanation in the README ?

alexgarel commented 1 year ago

And thanks a lot for this first PR @prometheas :tada:

prometheas commented 1 year ago

Hi @prometheas, can you explain it a bit to me ? Isn't the docker-compose sufficient ?

If it adds some new capabilities, could you add a small explanation in the README ?

Hi, @alexgarel 👋 this PR adds a Dev Container file to the project, allowing developers to create a uniform development environment. This is notable different to the container used by docker-compose, which offers reliable parity for runtime only (which is not used to, say, run the make scripts or any of the development-level scripts and automations.

Consistent versions of Python and any number of supporting cli tools become trivial, allowing newcomers to get started in minutes, rather than hours or days. Even allows for development directly in the web browser at GitHub Codespaces, or vscode.com.

Good point about updating info in the README, though. Will get on that today.