#nvm 설치 참고: https://github.com/creationix/nvm
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
#설치 후 다음 스크립트 실행
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
#node 설치
#nvm 설치 참고: https://github.com/creationix/nvm
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
#설치 후 다음 스크립트 실행
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
#node 설치
##apt-get 업데이트
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nginx
##rvm 설치 후 편하게 설치
curl -L get.rvm.io | bash -s stable
//실패 메세지. 다음과 같은 힌트 명령어 입력 후 다시 시도.
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} -s [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^(.*) /app/index.html [NC,L] | |
</IfModule> |
var http = require('http'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'text/plain'}); | |
res.end('Hello World\n'); | |
}).listen(8080, 'localhost'); | |
console.log('Server running at http://localhost:8080/'); |
cd ~ | |
sudo curl -sS https://getcomposer.org/installer | sudo php | |
sudo mv composer.phar /usr/local/bin/composer | |
sudo ln -s /usr/local/bin/composer /usr/bin/composer | |
sudo composer install | |
sudo composer update |
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile |
using System; | |
using NBTY.Core.DTO.Puritan; | |
using ServiceStack.CacheAccess; | |
using ServiceStack.ServiceHost; | |
using ServiceStack.ServiceInterface; | |
using ServiceStack.ServiceInterface.ServiceModel; | |
namespace Puritan.Web.Services.Catalog.ServiceStack | |
{ | |
[RestService("/category/{LegacyId}")] |
Resources: | |
AWSEBAutoScalingGroup: | |
Type: AWS::AutoScaling::AutoScalingGroup | |
Properties: | |
HealthCheckType: ELB | |
HealthCheckGracePeriod: 600 | |
option_settings: | |
- namespace: aws:autoscaling:launchconfiguration | |
option_name: IamInstanceProfile |
이것 저것 해보면서 모아봤습니다.
npm install --save-dev @babel/core @babel/preset-env @babel/preset-react @babel/plugin-proposal-class-properties babel-loader css-loader html-loader html-webpack-plugin node-sass react react-dom react-hot-loader sass-loader style-loader webpack webpack-cli webpack-dev-server