Skip to content

Commit

Permalink
Merge pull request #42 from ryanmurakami/v3
Browse files Browse the repository at this point in the history
Byebye forever
  • Loading branch information
ryanmurakami authored Sep 22, 2021
2 parents 562fa1a + 442cce4 commit 1358548
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "webpack-dev-server",
"build": "webpack",
"prestart": "npm run build",
"start": "forever stopall && forever start index.js",
"start": "pm2 start index.js --name hbfl -f",
"stop": "pm2 stop hbfl",
"deploy": "node deploy.js"
},
"author": "Ryan Lewis <[email protected]>",
Expand All @@ -29,12 +30,12 @@
"cli-spinner": "0.2.10",
"connected-react-router": "6.9.1",
"dotenv": "10.0.0",
"forever": "4.0.1",
"glob": "7.1.7",
"history": "4.10.1",
"lodash": "4.17.21",
"moment": "2.29.1",
"mysql2": "2.3.0",
"pm2": "5.1.1",
"progress": "2.0.3",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
3 changes: 2 additions & 1 deletion scripts/03/ec2-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
curl --silent --location https://rpm.nodesource.com/setup_16.x | sudo bash -
sudo yum install -y nodejs
sudo yum install -y git
cd home/ec2-user
git clone https://github.com/ryanmurakami/hbfl.git
cd hbfl
npm i
npm run start

# The above commands base64 encoded for entering into UserData
# IyEvYmluL2Jhc2gKY3VybCAtLXNpbGVudCAtLWxvY2F0aW9uIGh0dHBzOi8vcnBtLm5vZGVzb3VyY2UuY29tL3NldHVwXzE2LnggfCBzdWRvIGJhc2ggLQpzdWRvIHl1bSBpbnN0YWxsIC15IG5vZGVqcwpzdWRvIHl1bSBpbnN0YWxsIC15IGdpdApnaXQgY2xvbmUgaHR0cHM6Ly9naXRodWIuY29tL3J5YW5tdXJha2FtaS9oYmZsLmdpdApjZCBoYmZsCm5wbSBpCm5wbSBydW4gc3RhcnQ=
# IyEvYmluL2Jhc2gKY3VybCAtLXNpbGVudCAtLWxvY2F0aW9uIGh0dHBzOi8vcnBtLm5vZGVzb3VyY2UuY29tL3NldHVwXzE2LnggfCBzdWRvIGJhc2ggLQpzdWRvIHl1bSBpbnN0YWxsIC15IG5vZGVqcwpzdWRvIHl1bSBpbnN0YWxsIC15IGdpdApjZCBob21lL2VjMi11c2VyCmdpdCBjbG9uZSBodHRwczovL2dpdGh1Yi5jb20vcnlhbm11cmFrYW1pL2hiZmwuZ2l0CmNkIGhiZmwKbnBtIGkKbnBtIHJ1biBzdGFydA==

0 comments on commit 1358548

Please sign in to comment.