전체카테고리 468

AWS SaaS Boost 배포하기

(Optional) Deploy the Sample Application Configure AWS SaaS Boost for the Sample Application Just as you would configure AWS SaaS Boost to support the requirements of your application, we must configure the application settings properly for this sample app. This sample application relies on the following configuration in AWS SaaS Boost. AWS SaaS Boost 를 당신의 요구사항에 맞추어 환경설정을 합니다. Sample 어플리케이션은 아래..

PaaS/CI CD 2023.06.22

AWS SaaS Boost 프로젝트

AWS에 공식으로 서비스하는 제품은 아니고 AWS리소스를 사용하여 빠르게 SaaS서비스를 할 수 있도록하는 오픈소스 프로젝트 이다. ※ 관련한 소스코드와 Document는 아래를 참고 https://github.com/awslabs/aws-saas-boost GitHub - awslabs/aws-saas-boost: AWS SaaS Boost is a ready-to-use toolset that removes the complexity of successfully running Sa AWS SaaS Boost is a ready-to-use toolset that removes the complexity of successfully running SaaS workloads in the AWS cloud..

(React) 앱 초기화 및 몇가지 패키지

NPM을 활용한 앱 초기화 (프로젝트 생성) npx create-react-app app-name 반응형 웹을 위한 패키지 npm install react-responsive npm install @types/react-responsive 부트스트랩 설치 import "../node_modules/bootstrap/dist/css/bootstrap.min.css"; import "../node_modules/bootstrap/dist/js/bootstrap.bundle"; > npm install bootstrap@^5.0.0-alpha1 유용한 아이콘 및 폰트 import { faLinkedin } from "@fortawesome/free-brands-svg-icons"; "@fortawesome/f..

라즈베리파이-시리얼통신 오픈하기

※ 해당 포스트를 작성하는데 있어 아래 링크를 많이 참고하였습니다. https://blog.naver.com/PostView.nhn?blogId=emperonics&logNo=222039301356 라즈베리파이 시리얼 통신(RaspberryPi Uart Communication) 라즈베리파이 시리얼 통신 안녕하세요. 베어팹의 황제곰 입니다. 이번포스팅에서는 라즈베리파이를 사용해... blog.naver.com 라즈베리파이4는 기존의 하드웨어적인 UART0와 miniUART(UART1)외에 시리얼 통신 장치를 4개 추가 했습니다. 따라서 굳이 mini UART를 통해 불편하게 여러가지 세팅 후 시리얼 통신을 할 필요가 없어 졌습니다. 라즈베리파이4에서는 아래와 같이 총 6개의 UART가 있고 위에서 말한 ..

기타/IoT 2023.05.06

라즈베리파이 - 온습도 센서 연결

쿨러 : 4,6번 DHT11 온습도 센서 구입 내가 산 센서는 핀용도가 없었음..; 아래를 잘보고하기 바람. S가 출력 → 7번 PIN -가 접지 → 9번 PIN 가운데가 → 전원공급 VCC PIN import datetime import Adafruit_DHT as dht import requests #온습도 획득 hum,temp = dht.read_retry(dht.DHT11,4) #로그파일로 별도로 남기고 싶어서 출력 print("Time : {0:%Y-%m-%d %H:%M:%S} Temperature = {1:0.1f}*C Humidity = {2:0.1f}%".format(datetime.datetime.now(), temp, hum)) if hum is not None and temp is n..

기타/IoT 2023.05.06

라즈베리파이4 핀과 설계

핀맵 5V 핀 : 5V 핀은 Type-C 포트에서 제공하는 5V 전원 공급 장치를 출력하는 데 사용됩니다. 핀은 Raspberry Pi 4 장치에서 2와 4로 번호가 매겨져 있습니다. 3.3V 핀 : 3.3V 핀은 1번과 17번 으로 표시된 외부 구성 요소에 3.3V 전원을 공급합니다. 접지 핀 : 접지 핀은 전기 회로를 닫는 데 사용됩니다. 접지 핀은 보드가 타는 것을 방지하고 회로에서 중요한 역할을 합니다. 접지 핀의 번호는 6,9,14,20,25,30,34 및 39입니다. Reserved Pins : 이 핀들은 I2C와 EEPROM 간의 통신을 수행하는 데 사용됩니다. 라즈베리 파이가 처음이라면 27번과 28번 핀에는 아무것도 연결하지 않는 것이 좋습니다 GPIO 핀 : 이들은 다양한 기능을 수행하..

기타/IoT 2023.05.06

GraphQL Apollo 서버와 MySQL 연동

※ NPM 패키지 매니저 사용 ※ 원문 참조(본 포스팅은 원문의 상당량을 참조하였습니다.) https://hoons-up.tistory.com/53 [Develop/Node&Express] Express / GraphQL / Appllo 맛보기 2 (Mysql) Express / GraphQL / Appllo 맛보기 2 (Mysql) 이번에는 Expess, GraphQL, Apollo-Server, Mysql을 사용해서 Express와 Mysql 연결과 Apollo-Server를 사용한 GraphQL 서버를 간단하게 만들어 볼려고한다. 추후 다음 포스팅을 통 hoons-up.tistory.com 소스코드 : https://github.com/armyost/graphql-appllo GitHub - arm..

Programming/기타 2023.04.01

Spring Batch에 대한 고찰

배치가 단순히 Fetch From Source > Data CUD > Data Write 이런 프로세스라면 어려울 것도 없다. 데이터가 많은 금융, 산업 쪽은 배치가 무지무지 복잡하다... 배치가 복잡해지는 이유는 다음의 요소들이 흐름에 끼어있기 때문이다. 1. FETCH할 SOURCE가 여러개 2. DATA WRITE할 DESTINATION이 여러개 - 병렬 WRITE - 분기 WRITE 3. FETCH DATA의 FILTERING을 통한 다이어트 4. DATA 가공 과정에서 분기 - 단순 분기 - 동적 조건에 따른 분기 이런 요소들로 인해서 복잡한데 이걸 극복하는 컨셉은 크게 두가지가 있다. 가. Spring Batch의 Object를 써서 극복할 것인지 나. JAVA와 SQL로 극복할 것인지 가. ..

Programming/Java 2023.03.31

Python 에서 pip install할때 발생하는 오류들

오류 /usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 해결방안 # yum -y install centos-release-scl # yum -y install devtoolset-7 # scl enable devtoolset-7 bash 위 내용 미적용 시 에러 발생 :

Programming/Python 2023.03.21