At this stage, Gardenplace is a personal exercise and demo masquerading as an app offering social media for gardeners.
cd frontend
yarn
yarn run build-dev
cd dist
python3.8 -m http.server
cd frontend
yarn
yarn run build
cd backend/authService
go build
cd backend/api
yarn
yarn run prestart
{
"configurations": [
{
"name": "Launch API",
"program": "${workspaceFolder}/backend/api/dist/index.js",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
},
{
"name": "Attach to Chrome",
"type": "chrome",
"request": "attach",
"port": 9222,
"url": "127.0.0.1",
"webRoot": "${workspaceFolder}/frontend"
},
{
"name": "Launch authService",
"type": "go",
"request": "launch",
"mode": "exec",
"program": "${workspaceFolder}/backend/authService/authService.exe",
}
]
}
After manually killing the old server processes, adjust the following variables accordingly and create the deployment.
ARTIFACT_S3_BUCKET=codepipeline-us-east-2-478458351072
ARTIFACT_KEY=gardenplace/BuildArtif/wVK9PKg
aws deploy create-deployment --application-name gardenplace --deployment-group-name gardenplace-production --revision "revisionType=S3,s3Location={bucket="$ARTIFACT_S3_BUCKET",key="$ARTIFACT_KEY",bundleType=zip}" --ignore-application-stop-failures
certbot renew
sudo wget -r --no-parent -A 'epel-release-*.rpm' http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/
sudo rpm -Uvh dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-*.rpm
sudo yum-config-manager --enable epel*
sudo certbot certonly --standalone