Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-workflow
Commits
24aa74b9
Unverified
Commit
24aa74b9
authored
1 year ago
by
Aman Kumar Shrivastava
Committed by
GitHub
1 year ago
Browse files
Options
Download
Plain Diff
Merge branch 'Samagra-Development:main' into contributeByGitpod
parents
f3143b24
a9fa1e10
main
revert-67-contributeByGitpod
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
seeLiveChanges.sh
+30
-0
seeLiveChanges.sh
with
30 additions
and
0 deletions
+30
-0
seeLiveChanges.sh
0 → 100644
+
30
−
0
View file @
24aa74b9
#!/bin/bash
image_name
=
"wrapper"
container_id
=
$(
docker ps
-qf
"ancestor=
$image_name
"
)
echo
"container Id =
$container_id
"
docker stop
"
$container_id
"
&&
docker
rm
"
$container_id
"
echo
"container stopped and removed"
cp
.env apps/wrapper/
echo
"Environment variables copied"
cd
apps/wrapper
npm i
--legacy-peer-deps
echo
"Dependecies Installed running the server"
# Dependecies Installed running the server
npm run start
# Open localhost:3000 in web browser
if
[[
"
$OSTYPE
"
==
"darwin"
*
]]
;
then
open
"http://localhost:3000"
elif
[[
"
$OSTYPE
"
==
"linux-gnu"
*
]]
;
then
xdg-open
"http://localhost:3000"
else
echo
"Unsupported operating system."
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets