전체 글 11

Building with plugins requires symlink support.

Flutter 프로젝트에 window_manager 패키지를 추가하면서 등장한 문구:# moran >> flutter pub add window_manager # 패키지 추가는 잘 되었습니다.# ...Building with plugins requires symlink support.Please enable Developer Mode in your system settings. Run start ms-settings:developersto open settings. 이해한 바로는 해당 패키지를 사용하기 위해서는 symlink(Symbolic link, 바로가기) 기능에 대한 권한이 필요하기 때문에 윈도우 개발자 모드를 설정해달라는 것 같습니다.해결 방법:moran >> start ms-setting..

Flutter 2024.05.03

MAC에서 Python 설치(with Homebrew) + zsh: command not found: python3

Python 설치에는 여러가지 방법이 있겠지만, 이것저것 설치하기 좋은 Homebrew로 설치해보겠습니다. HomebrewThe Missing Package Manager for macOS (or Linux).brew.sh Homebrew 설치:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"  Python3 설치:brew install python3  python3 설치 시 여러가지 메시지들이 뜨는데, 맨 아래 5줄 정도에 아래와 같은 메시지가 있습니다. 메시지가 알려주는 경로에서 "/python3"를 제외한 "/opt/homebrew/bin" 부분을 복사해주세요. "/" 부분 신경..

Python 2024.04.27

Flutter Windows Desktop App 실행법

이 포인트에서 되신다면 이어 진행하실 필요 없습니다. # Devices 중 Windows로 실행하기flutter run -d windows​  안되시는 분들은 아래 명령어로 Flutter가 사용 가능한 디바이스에 Windows가 있는지 확인해봅시다.MORAN > flutter devices# Found 3 connected devices:# Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version# 10.0.19045.4291]# Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.123# Edge (web) ..

Flutter 2024.04.17

PostgreSQL 외부 원격 접속 패스워드 검사를 안하는 문제 (with Docker)

[ 작업 환경 ]- Docker Container- Docker Network: Bridge Driver*- Rockylinux:9.2- PostgreSQL 15 Server+ 같은 계열인 CentOS의 경우도 비슷할 듯 합니다* 추측으로는 Bridge가 두 컨테이너를 localhost로 연결한 것도 같습니다. 문제점다른 컨테이너에서 데이터베이스 접속 시 비밀번호를 물어보지 않는 문제[root@dcb4 /]# psql -h dbContainer --username=myUser databasepsql (13.14, server 15.6)WARNING: psql major version 13, server major version 15. Some psql featu..

Database/PostgreSQL 2024.04.16

FastAPI + Docker Container, 웹사이트가 뜨지 않는 문제(+ IP 관련)

[ 작업 환경 ]- Docker Container- Docker Network: Bridge Driver- Rockylinux:9.2- FastAPI + uvicorn  문제점사실 그냥 뻘짓했습니다.. 단순 IP 잘못 입력한 문제입니다.[root@dcb4 app]# uvicorn main:app --reload --port=8000INFO:     Will watch for changes in these directories: ['/path/app']INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)INFO:     Started reloader process [312139] using StatReloadIN..

Python/FastAPI 2024.04.16

PostgreSQL initdb 초기화 / 초기 설정 방법

💡  이 게시물은 입문자 분들 비율이 높을 것 같아, 부족하지만 상세 설명 덧붙여 진행하겠습니다.  [ 검색하셨을만한 에러 ]psql: error: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?Job for postgresql-15.service failed because the control process exited with error code. See "systemctl status postgresql-15.service" and "..

Database/PostgreSQL 2024.04.16

RockyLinux에서 PostgreSQL 서버 외부 접속 허용하기

[ 작업 환경 ]- Docker Container- Rockylinux:9.2- PostgreSQL 15 Server+ 같은 계열인 CentOS의 경우도 비슷할 듯 합니다.  postgresql.conf 파일 수정# 루트(/) 경로에서 이름(-name)이 postgresql.conf인 파일을 찾아보는 명령어[root@0c6f22bdea32 etc]$ find / -name postgresql.conf/var/lib/pgsql/15/data/postgresql.conf우선 find 명령어로 postgresql.conf 파일이 어디있는지 찾아봅시다. postgres=# show data_directory; data_directory ------------------..

Database/PostgreSQL 2024.04.15

VSCode의 Java Project에서 JDBC(Java - MySQL / MariaDB) 연결 방법

아래 방법은 MySQL Connector을 사용합니다. + 저는 Java 개발자가 아니며, 그냥 시도해보는 과정에서 작성한 내용이라 상당히 야매일 수 있습니다. [ 작업 환경 ] - Windows 10 - Visual Studio Code(VSC) - MySQL Connector: mysql-connector-j-8.3.0 - MySQL Version: 8.0.36 Microsoft Windows [Version 10.0.19045.4170] (c) Microsoft Corporation. All rights reserved. C:\>mysql -V mysql Ver 8.0.36 for Win64 on x86_64 (MySQL Community Server - GPL) MySQL Connector은 아마..

Java 2024.04.12

'RawKeyboard' is deprecated and shouldn't be used.

'RawKeyboard' is deprecated and shouldn't be used. Use HardwareKeyboard instead. This feature was deprecated after v3.18.0-2.0.pre.Try replacing the use of the deprecated member with the replacement.dartdeprecated_member_use)에러라기보다는 이러한 경고문이 나타나네요. 구글링에서 보편적으로 추천되는 클래스인 RawKeyboard가 deprecated(* 추후 사용되지 않을 함수나 기능, 클래스 등으로 사용하지 않는 것이 좋습니다.)된 모양입니다. 제 경우에는 Ctrl Press 여부에 따라 마우스 모양을 변경해주는 기능을 ..

Flutter 2024.04.08