Samagra-Development / workflow

Workflow is an Open Source project aimed towards the creation of data flow models using config files thereby allowing you to easily create and interact with stateful applications with minimum setup.
https://samagra-development.github.io/workflow
5 stars 28 forks source link

Create and Update .env file in apps/wrapper directory through gitpod scripts #68

Closed mecskyverse closed 1 year ago

mecskyverse commented 1 year ago

Description

Currently, to see live changes in the app we have to use npm install in ./apps/wrapper directory and then hardcode the .env file in the directory then stop the wrapper container to be able to interact. In place of that what we can do is we can automatically add and update a .env file in the wrapper directory through gitpod scripts in our workspace. Or we can add a bash script that will install dependencies, stop the wrapper container and start the server all at once with just one script for live interaction.

Steps followed and expected result

Add a bash script or update the gitpod script whichever path we want to choose and remove the hardcoded steps to copy-paste .env from here and there.

amit-s19 commented 1 year ago

Closing this issue with merged PR