Kbk
Kbk
WWasp-lang
Created by Kbk on 10/15/2024 in #đŸ™‹questions
proxy db to locacl host and open db studio
hello do you remember how to proxy db to localhost?
6 replies
WWasp-lang
Created by Kbk on 6/18/2024 in #đŸ™‹questions
Fly.io problem after deployment
Hello, I made deployment to fly.io but i mixed toml files. I interrupted deploymend process when i saw this missmatch Right now after deployment app with correct toml i got error probably with prisma. 2024-06-18T12:54:51.486 app[90801932c7dd78] ams [info] Error: P3009 2024-06-18T12:54:51.486 app[90801932c7dd78] ams [info] migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve 2024-06-18T12:54:51.486 app[90801932c7dd78] ams [info] The 20240606165441_0606024v2 migration started at 2024-06-18 12:06:55.657890 UTC failed 2024-06-18T12:53:50.809 app[d8dd626f075208] ams [info] > npm run db-migrate-prod && NODE_ENV=production npm run start 2024-06-18T12:53:34.293 proxy[90801932c7dd78] ams [info] Starting machine 2024-06-18T12:53:34.295 proxy[90801932c7dd78] ams [error] [PM07] failed to change machine state: machine still active, refusing to start 2024-06-18T12:53:56.645 proxy[d8dd626f075208] ams [info] Starting machine 2024-06-18T12:53:56.647 proxy[d8dd626f075208] ams [error] [PM07] failed to change machine state: machine still active, refusing to start 2024-06-18T12:53:37.337 proxy[90801932c7dd78] ams [info] Starting machine 2024-06-18T12:53:37.339 proxy[90801932c7dd78] ams [error] [PM07] failed to change machine state: machine still active, refusing to start 2024-06-18T12:53:59.623 proxy[d8dd626f075208] ams [info] Starting machine 2024-06-18T12:53:59.624 proxy[d8dd626f075208] ams [error] [PM07] failed to change machine state: machine still active, refusing to star
11 replies
WWasp-lang
Created by Kbk on 6/7/2024 in #đŸ™‹questions
Hello,
How i can "manualy" activate user who didnt click on confirmation mail?
5 replies
WWasp-lang
Created by Kbk on 5/22/2024 in #đŸ™‹questions
DB stuidio on fly.io
Hello, Is there any easy way to get prisma studio avanible for postgres instance already deployed on flyio?
6 replies
WWasp-lang
Created by Kbk on 5/17/2024 in #đŸ™‹questions
Modification of sing up. Add additional fields in sing up form and user entity.
Hi, I need to extend the user model to include first name and last name. I will update the user model in main.wasp. Additionally, how can I update the sign-up form to include the new fields? Where should I modify the registration logic on the backend? I am also wondering if it is possible to integrate a solution like Veriff or SumSub for KYC in the registration process. Thanks in advance đŸ™‚
7 replies
WWasp-lang
Created by Kbk on 5/5/2024 in #đŸ™‹questions
Deploying on fly.io
No description
21 replies
WWasp-lang
Created by Kbk on 5/4/2024 in #đŸ™‹questions
Hello,
I would like to try mage with gpt4. I created new folder and run wasp new. kubik@KBK:/mnt/c/Users/patku/projects/opensaas/Mageai$ wasp new ct) â–¸ MageCrypto Choose a starter template [1] basic (default) Simple starter template with a single page. [2] todo-ts Simple but well-rounded Wasp app implemented with Typescript & full-stack type safety. [3] saas Everything a SaaS needs! Comes with Auth, ChatGPT API, Tailwind, Stripe payments and more. Check out https://opensaas.sh/ for more details.
[4] embeddings Comes with code for generating vector embeddings and performing vector similarity search. [5] ai-generated đŸ¤– Describe an app in a couple of sentences and have Wasp AI generate initial code for you. (experimental) â–¸
How can i provide api key for chat gpt4? I dont have any folder now
8 replies
WWasp-lang
Created by Kbk on 4/17/2024 in #đŸ™‹questions
GetPaginatedTransactions problem with query with decimals
Hello I made simple object entity Transaction {=psl id Int @id @default(autoincrement()) type String fiatCurrency String cryptoCurrency String amountFiat Decimal exchangeRate Decimal commission Decimal amountCrypto Decimal createdAt DateTime @default(now()) status String user User @relation(fields: [userId], references: [id]) userId Int psl=} How to make query on this and display it in table? I have problem also with decimals do i need to convert them do strings? its sounds not good at all. I was trying to get those transaction based on GetPaginatedUsers quesry but always gettting errors
7 replies
WWasp-lang
Created by Kbk on 4/17/2024 in #đŸ™‹questions
Prisma update Update available 4.16.2 -> 5.12.1
Can I update prisma in wasp project? What impact it would have? │ Update available 4.16.2 -> 5.12.1 │ [ Db !] │ │ [ Db !] │ This is a major update - please follow the guide at │ [ Db !] │ https://pris.ly/d/major-version-upgrade │ [ Db !] │ │ [ Db !] │ Run the following to update │ [ Db !] │ npm i --save-dev prisma@latest │ [ Db !] │ npm i @prisma/client@latest
8 replies