Posts

Showing posts from December, 2024

나는솔로 출연자 정보 태그, 직업, 이름, 상태 등으로 검색하는 사이트

Image
https://apps.aquadesk.com/da/chars   기수별 이름별로 검색이 가능하고 개인 인스타 그램 링크랑 사진도 나와요 한눈에 검색하기 좋아요 기수별로 영수를 모아서 볼 수 도 있고 좋네요!

[Completely free] Connect to Oracle Always free database (mysql) from public Internet using mysql router

Image
How to run and access Oracle Always free database for entirely free.   1. create Database  Menu > Database > DB Systems Create DB system Always Free username: dbadmin password: myadminpassword configure networking: Private subnet default vcn1  placement: any placement but I chose AD-1 It will take about 5 mins 2. create Compute engine to allow public access redirect to Mysql Database Menu > Compute > Instances Create Instance placement: Same placement I put the DB (AD-1) Choose a free shape (Ampere) in my case since  VM.Standard.E2.1.Micro never being available.  subnet: Public subnet-default-vcn1 **** important add or create new SSH key **** important 3. config redirect  Menu > Networking > Virtual Cloud Networks add the 2 Ingress Rules choose default VCN in the list choose public subnet in the list choose the only iptable in the list add 0.0.0.0/0 TCP  allow all access now (need to be restricted later to be more secure) install MySQ...

Generate Strapi env variables for your production

  You can copy the commands below to you shell and run it. it will give you the output that you can just copy from into your .env file you are newly creating. Strapi io  4.x  env variable generation # Generate keys APP_KEYS = $( openssl rand -base64 16 ) , $( openssl rand -base64 16 ) , $( openssl rand -base64 16 ) API_TOKEN_SALT = $( openssl rand -base64 16 ) ADMIN_JWT_SECRET = $( openssl rand -base64 16 ) TRANSFER_TOKEN_SALT = $( openssl rand -base64 16 ) # Print results echo "APP_KEYS= $APP_KEYS " echo "API_TOKEN_SALT= $API_TOKEN_SALT " echo "ADMIN_JWT_SECRET= $ADMIN_JWT_SECRET " echo "TRANSFER_TOKEN_SALT= $TRANSFER_TOKEN_SALT " unset APP_KEYS API_TOKEN_SALT ADMIN_JWT_SECRET TRANSFER_TOKEN_SALT I've posted this in the strapi github as well https://github.com/strapi/strapi/issues/15206#issuecomment-2529899024

Basic User Schema for Strapi v4.25.xx

Image
basic User schema fields for strapi This is right after bootstrapping the project  Strapi 4.25.16 Dec 9 2024 Name Type username Text  email Email  provider Text  password Password  resetPasswordToken Text  confirmationToken Text  confirmed Boolean  blocked Boolean  role Relation with  Role (from: users-permissions)

Strapi Can not start server with Cannot read properties of undefined (reading ‘toLowerCase’)

Image
 I encounter this error while building a backend app with Strapi.io -------------------------------------- $ strapi develop ✔ Cleaning dist dir (8ms) ⠋ Building build context [INFO] Including the following ENV variables as part of the JS bundle: - ADMIN_PATH - STRAPI_ADMIN_BACKEND_URL - STRAPI_TELEMETRY_DISABLED ✔ Building build context (138ms) ✔ Creating admin (7498ms) ⠸ Loading Strapi[ERROR] There seems to be an unexpected error, try again with --debug for more information ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐│ ││ TypeError: Cannot read properties of undefined (reading 'toLowerCase' ) ││ at Function.singular (/Users/yj/projects/apis/apis-strapi/node_modules/pluralize/pluralize.js:136:24) ││ at getTypeName ...