Vinny (@Wasp)
Explore posts from serversWWasp-lang
•Created by NEROX on 10/14/2024 in #🙋questions
Failing to deploy (Assign own domain)
Maybe @martinsos has a better idea. I don't have much experience with these issues
95 replies
WWasp-lang
•Created by NEROX on 10/14/2024 in #🙋questions
Failing to deploy (Assign own domain)
ok looks correct. hmm
95 replies
WWasp-lang
•Created by NEROX on 10/14/2024 in #🙋questions
Failing to deploy (Assign own domain)
You've set the WASP_WEB_CLIENT_URL environment variable to https://toograded.com?
95 replies
WWasp-lang
•Created by neogeofun on 10/14/2024 in #🙋questions
Thank You and Some Deployment Questions For All
@neogeofun the bot did a pretty good job with suggestions.
We've already created a github deploy action for you, that you can use here: https://github.com/wasp-lang/deploy-action
Put that in your
.github
folder and follow the instructions in the readme, then everytime you push changes to main it will redeploy to fly.io. Hence, we suggest using Fly.io as that's the only hosting provider we support with one command deploys for now. More will definitely come in the future though20 replies
WWasp-lang
•Created by NEROX on 10/14/2024 in #🙋questions
Failing to deploy (Assign own domain)
did you follow these steps succesfully @NEROX ?
95 replies
WWasp-lang
•Created by linus on 10/14/2024 in #🙋questions
CORS issue
are you using the Open SaaS template, by the way?
12 replies
WWasp-lang
•Created by linus on 10/14/2024 in #🙋questions
CORS issue
try doing that and then runnn ing
wasp deploy fly deploy
again and let us know what happens12 replies
WWasp-lang
•Created by linus on 10/14/2024 in #🙋questions
CORS issue
because your
serverMiddlewareFn
isn't doing anything that Wasp can't already do, you can just remove it12 replies
WWasp-lang
•Created by linus on 10/14/2024 in #🙋questions
CORS issue
Hey you don't need to set the middleware config like this. Wasp will do it for you. All you have to do is set the env variables correctly, which if you used
wasp deploy
then it should do it for you12 replies
WWasp-lang
•Created by Julian Mendez on 10/10/2024 in #🙋questions
Unknown at rule @tailwindcss(unknownAtRules)
ok @Julian Mendez what you have to do is put the fonts that are currently in
src/client/fonts
into public/fonts
and then add this to your Main.css file:
then in your components you can use font-satoshi
to get the Satoshi font
and if you want to use it as the default for your entire app, you can try:
12 replies
WWasp-lang
•Created by Julian Mendez on 10/10/2024 in #🙋questions
Unknown at rule @tailwindcss(unknownAtRules)
it's just a zip package with react components. I geuss we could update it, but I think it's not really a priority.
@Julian Mendez I see what you mean now that on the template the Satoshi font isn't being used. Give me some time to try and figure out what the issue is and I'll report back.
12 replies
WWasp-lang
•Created by p4j4r5 on 10/10/2024 in #🙋questions
How to create a credit plan where I want to provide credits to multiple user features
ok @p4j4r5 Kapa bot provided a good answer above, but instead of defining them as
entity User {}
and entity FeatureCredits
you want to define them in your schema.prisma
as model User { }
and model FeatureCredits { }
11 replies
WWasp-lang
•Created by p4j4r5 on 10/10/2024 in #🙋questions
How to create a credit plan where I want to provide credits to multiple user features
It sounds like you'd want to add some extra relations to your database and user model, e.g.
model featureCredits
. @kapa.ai could you show us how this might look in the database? we want the featureCredits model to have 3 features and when a user purchases the main plan it increments featureOne by 10, featureTwo by 20, and featureThree by 30.11 replies
WWasp-lang
•Created by Nando on 10/12/2024 in #🙋questions
pinecone
did you try pulling the msot recent template with
wasp new
? it was updated just 5 hours ago9 replies
WWasp-lang
•Created by Sven on 10/14/2024 in #🙋questions
how does opensaas handle user data? According to the law!
To be honest, I don't know a whole lot about this, but through some searching I know you should at least communicate how you're storing their personal data in your terms of service.
7 replies
WWasp-lang
•Created by Sven on 10/14/2024 in #🙋questions
how does opensaas handle user data? According to the law!
yeah that sounds like a cool move if you're focusing on encrypting user info to make it more attractive to privacy-conscious users. but for now we're not doing anything like that in Open SaaS by default. We could maybe make a mock privacy policy and terms of service in the future, but because that's so app-specific, it might not make sense for use to do so.
7 replies
WWasp-lang
•Created by Julian Mendez on 10/10/2024 in #🙋questions
Unknown at rule @tailwindcss(unknownAtRules)
it looks to me like they've changed/updated tailadmin
12 replies
WWasp-lang
•Created by Alex Jukes on 8/28/2024 in #🙋questions
Embeddings template needs pinecone update
approved and merged! thanks again 👍
19 replies