Comments (2)
we can use yarn instead as well
#!/bin/bash
su ec2-user
curl --silent --location https://rpm.nodesource.com/setup_16.x | sudo bash -
sudo yum install -y nodejs
sudo yum install -y git
echo "npm install yarn -g"
sudo npm install yarn -g
echo "end npm install yarn -g"
cd ~
git clone https://github.com/ryanmurakami/hbfl.git
cd hbfl
echo "yarn"
yarn
echo "end yarn"
yarn start
# The above commands base64 encoded for entering into UserData
# IyEvYmluL2Jhc2gKc3UgZWMyLXVzZXIKY3VybCAtLXNpbGVudCAtLWxvY2F0aW9uIGh0dHBzOi8vcnBtLm5vZGVzb3VyY2UuY29tL3NldHVwXzE2LnggfCBzdWRvIGJhc2ggLQpzdWRvIHl1bSBpbnN0YWxsIC15IG5vZGVqcwpzdWRvIHl1bSBpbnN0YWxsIC15IGdpdAplY2hvICJucG0gaW5zdGFsbCB5YXJuIC1nIgpzdWRvIG5wbSBpbnN0YWxsIHlhcm4gLWcKZWNobyAiZW5kIG5wbSBpbnN0YWxsIHlhcm4gLWciCmNkIH4KZ2l0IGNsb25lIGh0dHBzOi8vZ2l0aHViLmNvbS9yeWFubXVyYWthbWkvaGJmbC5naXQKY2QgaGJmbAplY2hvICJ5YXJuIgp5YXJuCmVjaG8gImVuZCB5YXJuIgp5YXJuIHN0YXJ0
from hbfl.
Thanks for sharing! Glad you figured it out! 👍
from hbfl.
Related Issues (20)
- Can't install bcrypt on ubuntu HOT 1
- Can't install bcrypt on ubuntu HOT 3
- createRecordSet not found HOT 5
- Sample from Pluralsight course (codepipeline-hbfl) is missing HOT 34
- Poilcy faild to create HOT 1
- Error when running npm install HOT 2
- Running node create-ec2-instance.js Throws error HOT 2
- Invalid header? HOT 2
- bug: UnhandledPromiseRejectionWarning HOT 1
- Stylesheets missing when uploading to AWS HOT 3
- lib/data/lib/sns.js is not in the codebase HOT 2
- VPCIdNotSpecified HOT 1
- Module 04 user data script not executing properly: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory HOT 4
- npm start exit with error HOT 1
- Failed to create instance with: TypeError: input is not iterable HOT 2
- npm install
- scripts/04/create-auto-scaling.js
- Users.js and UserFavorites.js point to aurora.client rather than mysql.client HOT 1
- KeyName is not defined error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hbfl.