Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TDT4240 Tank Wars
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Snorre Skjellestad Kristiansen
TDT4240 Tank Wars
Commits
746fddc2
Commit
746fddc2
authored
2 years ago
by
Fredrik Fonn Hansen
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-deploy-2' into 'main'
fix startup script See merge request
!87
parents
76cc205f
9f877f47
No related branches found
Branches containing commit
No related tags found
1 merge request
!87
fix startup script
Pipeline
#218270
passed
2 years ago
Stage: backend build
Stage: backend test
Stage: frontend test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/vm-startup.sh
+1
-1
1 addition, 1 deletion
backend/vm-startup.sh
with
1 addition
and
1 deletion
backend/vm-startup.sh
+
1
−
1
View file @
746fddc2
...
...
@@ -6,7 +6,7 @@ if ! command -v pm2 &> /dev/null; then
fi
# Start the Express.js app
cd
/home/git/tdt4240-tank-wars/backend
&&
sudo
git pull
&&
sudo
npx yarn
&&
sudo
yarn start:prod
cd
/home/git/tdt4240-tank-wars/backend
&&
sudo
git pull
&&
sudo
npx yarn
&&
sudo
npx
yarn start:prod
# Wait for the app to start and check the status
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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