#759 - added .devcontainer for coding inside a docker-container with …#760
#759 - added .devcontainer for coding inside a docker-container with …#760Cyber1000 wants to merge 3 commits intochrisvel:mainfrom
Conversation
|
Maybe fixing the README (as said in #759 - I have port 3002 and not port 3001 open), should go as well into this PR. |
|
we may also just add "npm start" at the end which seems to execute start-all-dev.sh - only "problem", no bash in docker-container, but we may change to simple sh |
|
Took in this as some inspiration for what I cooked up over in https://github.com/jax0m/tududi/tree/feature/issue-954-runtime-base-path/.devcontainer Prebuilds out the backend/.env as well as calls the database create if not already in the files. Creates random shared secret and password if .env was created, might rearrange the shell script a bit so that it would catch if the database had to created and the .env already existed then it would apply the email/password in the .env to the new db, or if the .env had to be created and the database already existed itd apply the email/pass as well. Anywho, also a devcontainer runner if you need someone else to test ;) |
Description
I like to use vscode together with docker-container, that way you can define a dev-environment which is the same for all devs without works-on-my-machine-moments.
Type of Change
Related Issues
Fixes #
Testing
Commands run:
npm run pre-push(linting + formatting + tests) -> no need, cause no code-change, but started the commandChecklist
Additional Notes