From 46558999ac236e98237208d2dac1c3f537491596 Mon Sep 17 00:00:00 2001 From: Mapajaaa Date: Fri, 3 May 2024 16:31:24 +0700 Subject: [PATCH 1/5] perubahan public ke dist --- {public => dist}/asset-manifest.json | 0 {public => dist}/favicon.ico | Bin {public => dist}/index.html | 0 {public => dist}/logo.png | Bin {public => dist}/manifest.json | 0 {public => dist}/notes-logo.jpg | Bin ...che-manifest.01c35f111889c6ee36dd438e939568a2.js | 0 {public => dist}/service-worker.js | 0 {public => dist}/static/css/2.9e4b045f.chunk.css | 0 .../static/css/2.9e4b045f.chunk.css.map | 0 {public => dist}/static/css/main.89a458fc.chunk.css | 0 .../static/css/main.89a458fc.chunk.css.map | 0 {public => dist}/static/js/2.2f044a07.chunk.js | 0 {public => dist}/static/js/2.2f044a07.chunk.js.map | 0 {public => dist}/static/js/main.7aabff24.chunk.js | 0 .../static/js/main.7aabff24.chunk.js.map | 0 {public => dist}/static/js/runtime~main.a8a9905a.js | 0 .../static/js/runtime~main.a8a9905a.js.map | 0 18 files changed, 0 insertions(+), 0 deletions(-) rename {public => dist}/asset-manifest.json (100%) rename {public => dist}/favicon.ico (100%) rename {public => dist}/index.html (100%) rename {public => dist}/logo.png (100%) rename {public => dist}/manifest.json (100%) rename {public => dist}/notes-logo.jpg (100%) rename {public => dist}/precache-manifest.01c35f111889c6ee36dd438e939568a2.js (100%) rename {public => dist}/service-worker.js (100%) rename {public => dist}/static/css/2.9e4b045f.chunk.css (100%) rename {public => dist}/static/css/2.9e4b045f.chunk.css.map (100%) rename {public => dist}/static/css/main.89a458fc.chunk.css (100%) rename {public => dist}/static/css/main.89a458fc.chunk.css.map (100%) rename {public => dist}/static/js/2.2f044a07.chunk.js (100%) rename {public => dist}/static/js/2.2f044a07.chunk.js.map (100%) rename {public => dist}/static/js/main.7aabff24.chunk.js (100%) rename {public => dist}/static/js/main.7aabff24.chunk.js.map (100%) rename {public => dist}/static/js/runtime~main.a8a9905a.js (100%) rename {public => dist}/static/js/runtime~main.a8a9905a.js.map (100%) diff --git a/public/asset-manifest.json b/dist/asset-manifest.json similarity index 100% rename from public/asset-manifest.json rename to dist/asset-manifest.json diff --git a/public/favicon.ico b/dist/favicon.ico similarity index 100% rename from public/favicon.ico rename to dist/favicon.ico diff --git a/public/index.html b/dist/index.html similarity index 100% rename from public/index.html rename to dist/index.html diff --git a/public/logo.png b/dist/logo.png similarity index 100% rename from public/logo.png rename to dist/logo.png diff --git a/public/manifest.json b/dist/manifest.json similarity index 100% rename from public/manifest.json rename to dist/manifest.json diff --git a/public/notes-logo.jpg b/dist/notes-logo.jpg similarity index 100% rename from public/notes-logo.jpg rename to dist/notes-logo.jpg diff --git a/public/precache-manifest.01c35f111889c6ee36dd438e939568a2.js b/dist/precache-manifest.01c35f111889c6ee36dd438e939568a2.js similarity index 100% rename from public/precache-manifest.01c35f111889c6ee36dd438e939568a2.js rename to dist/precache-manifest.01c35f111889c6ee36dd438e939568a2.js diff --git a/public/service-worker.js b/dist/service-worker.js similarity index 100% rename from public/service-worker.js rename to dist/service-worker.js diff --git a/public/static/css/2.9e4b045f.chunk.css b/dist/static/css/2.9e4b045f.chunk.css similarity index 100% rename from public/static/css/2.9e4b045f.chunk.css rename to dist/static/css/2.9e4b045f.chunk.css diff --git a/public/static/css/2.9e4b045f.chunk.css.map b/dist/static/css/2.9e4b045f.chunk.css.map similarity index 100% rename from public/static/css/2.9e4b045f.chunk.css.map rename to dist/static/css/2.9e4b045f.chunk.css.map diff --git a/public/static/css/main.89a458fc.chunk.css b/dist/static/css/main.89a458fc.chunk.css similarity index 100% rename from public/static/css/main.89a458fc.chunk.css rename to dist/static/css/main.89a458fc.chunk.css diff --git a/public/static/css/main.89a458fc.chunk.css.map b/dist/static/css/main.89a458fc.chunk.css.map similarity index 100% rename from public/static/css/main.89a458fc.chunk.css.map rename to dist/static/css/main.89a458fc.chunk.css.map diff --git a/public/static/js/2.2f044a07.chunk.js b/dist/static/js/2.2f044a07.chunk.js similarity index 100% rename from public/static/js/2.2f044a07.chunk.js rename to dist/static/js/2.2f044a07.chunk.js diff --git a/public/static/js/2.2f044a07.chunk.js.map b/dist/static/js/2.2f044a07.chunk.js.map similarity index 100% rename from public/static/js/2.2f044a07.chunk.js.map rename to dist/static/js/2.2f044a07.chunk.js.map diff --git a/public/static/js/main.7aabff24.chunk.js b/dist/static/js/main.7aabff24.chunk.js similarity index 100% rename from public/static/js/main.7aabff24.chunk.js rename to dist/static/js/main.7aabff24.chunk.js diff --git a/public/static/js/main.7aabff24.chunk.js.map b/dist/static/js/main.7aabff24.chunk.js.map similarity index 100% rename from public/static/js/main.7aabff24.chunk.js.map rename to dist/static/js/main.7aabff24.chunk.js.map diff --git a/public/static/js/runtime~main.a8a9905a.js b/dist/static/js/runtime~main.a8a9905a.js similarity index 100% rename from public/static/js/runtime~main.a8a9905a.js rename to dist/static/js/runtime~main.a8a9905a.js diff --git a/public/static/js/runtime~main.a8a9905a.js.map b/dist/static/js/runtime~main.a8a9905a.js.map similarity index 100% rename from public/static/js/runtime~main.a8a9905a.js.map rename to dist/static/js/runtime~main.a8a9905a.js.map From ea3c13db4282d4b2f3b0fdfaf9f56c7b113fcf0a Mon Sep 17 00:00:00 2001 From: Mapajaaa Date: Fri, 3 May 2024 19:07:59 +0700 Subject: [PATCH 2/5] perubahan direktori dist ke public --- {dist => public}/asset-manifest.json | 0 {dist => public}/favicon.ico | Bin {dist => public}/index.html | 0 {dist => public}/logo.png | Bin {dist => public}/manifest.json | 0 {dist => public}/notes-logo.jpg | Bin ...che-manifest.01c35f111889c6ee36dd438e939568a2.js | 0 {dist => public}/service-worker.js | 0 {dist => public}/static/css/2.9e4b045f.chunk.css | 0 .../static/css/2.9e4b045f.chunk.css.map | 0 {dist => public}/static/css/main.89a458fc.chunk.css | 0 .../static/css/main.89a458fc.chunk.css.map | 0 {dist => public}/static/js/2.2f044a07.chunk.js | 0 {dist => public}/static/js/2.2f044a07.chunk.js.map | 0 {dist => public}/static/js/main.7aabff24.chunk.js | 0 .../static/js/main.7aabff24.chunk.js.map | 0 {dist => public}/static/js/runtime~main.a8a9905a.js | 0 .../static/js/runtime~main.a8a9905a.js.map | 0 18 files changed, 0 insertions(+), 0 deletions(-) rename {dist => public}/asset-manifest.json (100%) rename {dist => public}/favicon.ico (100%) rename {dist => public}/index.html (100%) rename {dist => public}/logo.png (100%) rename {dist => public}/manifest.json (100%) rename {dist => public}/notes-logo.jpg (100%) rename {dist => public}/precache-manifest.01c35f111889c6ee36dd438e939568a2.js (100%) rename {dist => public}/service-worker.js (100%) rename {dist => public}/static/css/2.9e4b045f.chunk.css (100%) rename {dist => public}/static/css/2.9e4b045f.chunk.css.map (100%) rename {dist => public}/static/css/main.89a458fc.chunk.css (100%) rename {dist => public}/static/css/main.89a458fc.chunk.css.map (100%) rename {dist => public}/static/js/2.2f044a07.chunk.js (100%) rename {dist => public}/static/js/2.2f044a07.chunk.js.map (100%) rename {dist => public}/static/js/main.7aabff24.chunk.js (100%) rename {dist => public}/static/js/main.7aabff24.chunk.js.map (100%) rename {dist => public}/static/js/runtime~main.a8a9905a.js (100%) rename {dist => public}/static/js/runtime~main.a8a9905a.js.map (100%) diff --git a/dist/asset-manifest.json b/public/asset-manifest.json similarity index 100% rename from dist/asset-manifest.json rename to public/asset-manifest.json diff --git a/dist/favicon.ico b/public/favicon.ico similarity index 100% rename from dist/favicon.ico rename to public/favicon.ico diff --git a/dist/index.html b/public/index.html similarity index 100% rename from dist/index.html rename to public/index.html diff --git a/dist/logo.png b/public/logo.png similarity index 100% rename from dist/logo.png rename to public/logo.png diff --git a/dist/manifest.json b/public/manifest.json similarity index 100% rename from dist/manifest.json rename to public/manifest.json diff --git a/dist/notes-logo.jpg b/public/notes-logo.jpg similarity index 100% rename from dist/notes-logo.jpg rename to public/notes-logo.jpg diff --git a/dist/precache-manifest.01c35f111889c6ee36dd438e939568a2.js b/public/precache-manifest.01c35f111889c6ee36dd438e939568a2.js similarity index 100% rename from dist/precache-manifest.01c35f111889c6ee36dd438e939568a2.js rename to public/precache-manifest.01c35f111889c6ee36dd438e939568a2.js diff --git a/dist/service-worker.js b/public/service-worker.js similarity index 100% rename from dist/service-worker.js rename to public/service-worker.js diff --git a/dist/static/css/2.9e4b045f.chunk.css b/public/static/css/2.9e4b045f.chunk.css similarity index 100% rename from dist/static/css/2.9e4b045f.chunk.css rename to public/static/css/2.9e4b045f.chunk.css diff --git a/dist/static/css/2.9e4b045f.chunk.css.map b/public/static/css/2.9e4b045f.chunk.css.map similarity index 100% rename from dist/static/css/2.9e4b045f.chunk.css.map rename to public/static/css/2.9e4b045f.chunk.css.map diff --git a/dist/static/css/main.89a458fc.chunk.css b/public/static/css/main.89a458fc.chunk.css similarity index 100% rename from dist/static/css/main.89a458fc.chunk.css rename to public/static/css/main.89a458fc.chunk.css diff --git a/dist/static/css/main.89a458fc.chunk.css.map b/public/static/css/main.89a458fc.chunk.css.map similarity index 100% rename from dist/static/css/main.89a458fc.chunk.css.map rename to public/static/css/main.89a458fc.chunk.css.map diff --git a/dist/static/js/2.2f044a07.chunk.js b/public/static/js/2.2f044a07.chunk.js similarity index 100% rename from dist/static/js/2.2f044a07.chunk.js rename to public/static/js/2.2f044a07.chunk.js diff --git a/dist/static/js/2.2f044a07.chunk.js.map b/public/static/js/2.2f044a07.chunk.js.map similarity index 100% rename from dist/static/js/2.2f044a07.chunk.js.map rename to public/static/js/2.2f044a07.chunk.js.map diff --git a/dist/static/js/main.7aabff24.chunk.js b/public/static/js/main.7aabff24.chunk.js similarity index 100% rename from dist/static/js/main.7aabff24.chunk.js rename to public/static/js/main.7aabff24.chunk.js diff --git a/dist/static/js/main.7aabff24.chunk.js.map b/public/static/js/main.7aabff24.chunk.js.map similarity index 100% rename from dist/static/js/main.7aabff24.chunk.js.map rename to public/static/js/main.7aabff24.chunk.js.map diff --git a/dist/static/js/runtime~main.a8a9905a.js b/public/static/js/runtime~main.a8a9905a.js similarity index 100% rename from dist/static/js/runtime~main.a8a9905a.js rename to public/static/js/runtime~main.a8a9905a.js diff --git a/dist/static/js/runtime~main.a8a9905a.js.map b/public/static/js/runtime~main.a8a9905a.js.map similarity index 100% rename from dist/static/js/runtime~main.a8a9905a.js.map rename to public/static/js/runtime~main.a8a9905a.js.map From e66bd8594e0536e57cdaa846535119e3ce421837 Mon Sep 17 00:00:00 2001 From: Fajar Hidayat Date: Sat, 4 May 2024 16:06:24 +0700 Subject: [PATCH 3/5] Update app.js --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index f63258880..259523572 100644 --- a/app.js +++ b/app.js @@ -6,7 +6,7 @@ const Musician = require('./models/musician'); const musicianRoutes = require('./routes/musician'); const app = express(); -const port = process.env.PORT || 3001; +const port = process.env.PORT || 8080; // include routes app.use('/musician', musicianRoutes); @@ -28,4 +28,4 @@ const server = app.listen(port, () => { console.log("Server started on port " + port); }); -module.exports = server; \ No newline at end of file +module.exports = server; From 284cedec7915dcba3d47230c0a94f66f6bfa42b4 Mon Sep 17 00:00:00 2001 From: Fajar Hidayat Date: Sat, 4 May 2024 16:09:07 +0700 Subject: [PATCH 4/5] Create buildspec.yml --- buildspec.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 000000000..37347b972 --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,10 @@ +version: 0.2 + +phases: + install: + commands: + # Install dependencies needed for running tests + - npm install + + # Upgrade AWS CLI to the latest version + - pip install --upgrade awscli From 20c01700612aff07a3c4f9ab9130f1236ed838a7 Mon Sep 17 00:00:00 2001 From: Fajar Hidayat Date: Sat, 4 May 2024 16:36:16 +0700 Subject: [PATCH 5/5] Update buildspec.yml --- buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yml b/buildspec.yml index 37347b972..9e0aef582 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,6 +5,7 @@ phases: commands: # Install dependencies needed for running tests - npm install + - npm start # Upgrade AWS CLI to the latest version - pip install --upgrade awscli