풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
/usr/src/wordpress 경로에 진입해보니까 또 똑같은 애들이 있네요 ㅜㅜ;; 혹시 저것들이랑 /var/www/html/ 안의 애들이랑 왜 두곳에 다 녀석들이 있는지 ... 문의 한번 더 드리고싶습니다. v 정말 진도좀 나가려는데 왜 또 이상한거 발견.. 머리가 복잡해져서 큰났네요.. 얘들은 그냥 워드프레스만 단독으로 컨테이너 만들어봐도 동일하게 생기는걸 보면 워드프레스가 원래 그런 것 같은데.. 검색해보면 검색어가 애매모호해서 딱 집어서 검색도 안되고요.. 코딩공부시 강의에서 딱 지적하지않은 부분들이나 좀 혼자 꼼꼼하다가 궁금한 부분들은 보통 어디 질문할 사이트가 따로 없을까요? 그냥 원래 그런가보다 .. 하고 일단 넘어가겠습니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 강의 잘 보고 있습니다. 특정 시간에 Pod 수를 auto scale 하고 싶습니다. 이 경우 권장 되는 방법이 있을 까요?
안녕하세요 선생님 저와 같은 문제가 있는지 찾아봐도 안나와서요... 저는 현재 윈도우 사용중이고 cmd 에서 ./gradlew gradlew.bat 를 실행하면 됩니다. 이렇게 써져있어서 ./gradlew 를 쳐도 '.'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. 이렇게 나오는데 어떻게 해야하나요??
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. trello-server를 다운 받고 npm 설치 시 아래와 같은 오류가 발생합니다. node-gyp, windows build toos 등 cmd 관리자 모드로 실행하여 설치를 하고 다시 실행하였습니다. 하지만 계속 아래와 같은 오류가 발생합니다. 해결 방법을 알려주시면 감사하겠습니다. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated terraformer@1.0.12: terraformer is deprecated and no longer supported. Please use @terraformer/arcgis. npm WARN deprecated terraformer-wkt-parser@1.2.1: terraformer-wkt-parser is deprecated and no longer supported. Please use @terraformer/wkt. npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated sequelize@4.44.4: This version will no longer receive security fixes per our security policy. Please update to sequelize@5 or above. npm ERR! code 1 npm ERR! path C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3 npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@0.11.0 npm ERR! node-pre-gyp info using node@16.4.1 | win32 | x64 npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download npm ERR! node-pre-gyp info check checked for "C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node" (not found) npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-win32-x64.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for sqlite3@5.0.2 and node@16.4.1 (node-v93 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error self signed certificate in certificate chain npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@16.4.1 | win32 | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@16.4.1 | win32 | x64 npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\python.exe" npm ERR! gyp http GET https://nodejs.org/download/release/v16.4.1/node-v16.4.1-headers.tar.gz npm ERR! gyp WARN install got an error, rolling back install npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: self signed certificate in certificate chain npm ERR! gyp ERR! stack at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34) npm ERR! gyp ERR! stack at TLSSocket.emit (node:events:394:28) npm ERR! gyp ERR! stack at TLSSocket._finishInit (node:_tls_wrap:944:8) npm ERR! gyp ERR! stack at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12) npm ERR! gyp ERR! System Windows_NT 10.0.19042 npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\Administrator\\Documents\\trello-backend\\lecture-vue-trello-server-master\\node_modules\\sqlite3\\lib\\binding\\napi-v3-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\Administrator\\Documents\\trello-backend\\lecture-vue-trello-server-master\\node_modules\\sqlite3\\lib\\binding\\napi-v3-win32-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3" npm ERR! gyp ERR! cwd C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3 npm ERR! gyp ERR! node -v v16.4.1 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:394:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19042 npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\Documents\\trello-backend\\lecture-vue-trello-server-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3 npm ERR! node-pre-gyp ERR! node -v v16.4.1 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2021-07-02T02_08_55_146Z-debug.log
{% set like = user and twit and twit['Liker'].map(function(value){ return value.id }).includes(user.id) %} {% if user and !like %} <button class='like'> 좋아요</button> {% else %} <button class='unlike'>좋아요 취소</button> {% endif %} 안녕하세요! 유튜브는 좋아요 기능 구현의 프론트 부분이 퍼그 코드로 돼있어서 넌적스 코드로 프론트를 구현하기 위해 위와 같이 바꿨는데, 넌적스는 map 함수가 적용이 안되는건지, 아니면 다른 문제가 있는 것인지 계속해서 오류가 발생합니다. 혹시 위 넌적스 코드의 수정법 혹은 넌적스로 좋아요 기능을 구현하는 다른 방법이 있을까요?
모듈을 분리해서 export const UserUpdate = async function (selectionDto,info) { .... } 이런식으로 분리를 했는데 아래와 같은 오류가 납니다. TypeError: Cannot read property 'createQueryBuilder' of undefined createQueryBuilder 에 Ctrl+마우스 클릭을 하면 해당 메소드로 이동이 되어야 하는데 이동이 안되고 Cannot find declaration to go to 이런 오류가 뜹니다. 혹시 모듈을 따로 만들어서 사용할 때 별도로 임포트를 해야하는 부분이 있을까요? 아니면 어느 부분을 놓치고 있는건지 감이 잡히질 않습니다. 좀도 명확한 오류가 나면 확인을 해 보겠는데..ㅠㅠ
안녕하세요 제로초님 강의 잘 듣고 있습니다. multer 부분 강의를 듣고 있는데 처음 컨트롤러 시작 부분에 upload폴더 생성 로직이 있는데 폴더 read, create 해주는 module인 fs를 import 하는 부분에서 아래와 같이 import를 해주어야 동작을 하는데.. import * as fs from 'fs'; nest 초기 셋팅에서 저기 import * as 없이 아래와 같이 선언해도 되는 셋팅 방법을 알수 있을까요?? import fs from 'fs'; 제로초님 강의중에 있었던 것 같은데 ... 다시 복기하면서 봐도 찾기가 쉽지 않네요 ㅜㅜ 알려주시면 정말 감사드리겠습니다.
글 삭제를 하고 서버에서 이런 메세지를 줬습니다. res . status ( 200 ) . send ( '게시글이 삭제되었습니다.' ); 그리고 이걸 프런트에서 alert로 표시를 하러고 하는데 제가 생각한 방법은 두가지 입니다. 1. saga에서 result.data 를 alert 2. PostCard에서 removePostDone이 true가 되면 삭제를 하고 다른 신호를 줘서 removePostDone이 false가 되게 한다. 둘 다 좋은 코드는 아닌 것 같아서 질문드리려고 합니다! 어떤 좋은 방법이 있을까요?
vue 파일에서 template에서는 auto close tag가 켜져있고, script 적을 때는 끄는 방법 혹시 아시나요? auto close tag라는 extension이 이를 제어하는 것 같은데 script에서 generic에 타입을 쓰면 자꾸 auto close tag를 생성해서 조금 불편합니다. setting에서 auto-close-tag: Disable On language에 javascript, typescript를 쳐도 안되고 vue를 치면 vue 파일 전체에서 안되서 어떻게 하는지 잘 모르겠네요. 혹시 vue 파일에서 script 태그 내에서만 auto close tag를 끄는 방법은 없을까요?
[하루 10분|Web Project] HTML/JS/CSS로 나만의 심리테스트 사이트 만들기
판다님 안녕하세요! 수업 잘 듣고 있습니다. 감사합니다. 글꼴 적용이 되지 않아 질문을 드립니다. 구글폰트에서 link을 복사해서 index.html의 head 태그안에 넣고, default.css에 * { font-family : 'Nanum Brush Script' , cursive; } 위와같이 style 적용 코드를 넣었습니다. 근데 이렇게 하면 글꼴 적용이 되지 않습니다. 다른 backgorund-color라던가 이런건 다 잘되는데 글꼴만 적용이 되지 않습니다. 그래서 index.html에 직접 < style > * { font-family : 'Nanum Brush Script' , cursive; }; </ style > 이렇게 넣으면 그제서야 적용이 되는데 왜그런걸까요?
안녕하세요 강사님! 강의 정말 잘 듣고있습니다. 처음에 문제를 도전해봤을때 단순하게 생각해서 문제를 풀었는데요. 중복순열까지 전부 구한 다음에 중복되지 않은 값을 제거하고 추출하는 식으로 풀었습니다. 이렇게 풀면 문제가 있을까요? < html > < head > < meta charset =" UTF-8 "> < title > 10. 순열 구하기 </ title > </ head > < body > < script > function solution ( m , arr ) { let answer = [] ; let tmp = Array . from ( { length : m }, () => 0 ) ; function DFS ( L ) { if ( L === m ) { if ( tmp [ 0 ] !== tmp [ 1 ]) answer . push ( tmp . slice ()) ; } else { for ( let i = 0 ; i < arr . length ; i ++ ) { tmp [ L ] = arr [ i ] ; DFS ( L + 1 ) ; } } } DFS ( 0 ) return answer ; } let arr = [ 3 , 6 , 9 ] ; console . log ( solution ( 2 , arr)) ; </ script > </ body > </ html >