narrowgate
narrowgate
WWasp-lang
Created by maksym36ua on 2/7/2024 in #đŸ™‹questions
OpenSaas Blog deployment
@Vinny (@Wasp) Of course ... so many things to gain from not having to reinvent a bigger wheel and sacrifice a bit of parsimony in the deployment (especially under the constrained resources đŸ™‚ ). So from what you have mentioned earlier in this thread .. you currently recommend deploying the SaaS portion to Fly and the static blog/docs portion to netlify?
28 replies
WWasp-lang
Created by maksym36ua on 2/7/2024 in #đŸ™‹questions
OpenSaas Blog deployment
Having just read this thread, thanks @maksym36ua for asking about the blog aspect of the open-saas template. I have been trying to learn web dev via open saas template and wasp and noticed that it was something I had to launch in a third terminal window (postgres, wasp app, and blog).
From a total newbie perspective and just as another voice/perspective regarding this topic, it would be awesome to have some sort of blog integrated into the main stack. I don't know enough to intelligently speak about Astro but it looks like it provides a framework for both docs as well as blog which is appealing. It just appears that is adds another layer of orchestration complexity come deployment time. However, I really don't know much on this topic so please help clear up my understanding on this @Vinny (@Wasp)
28 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
@matijash Thanks so much for the detailed advice and for checking out those templates. Like I mentioned, I am a complete novice when it comes to web development, so I incredibly value the analysis you provided, especially around Tailwind vs other technologies. I purchased the creative tim templates a couple of years ago and never did anything with them. I'm not surprised they are "dated", but I still like the way they look and feel. Thanks so much for referencing the TailAdmin Dashboard. I see that the company behind it is Pimjo and they have similar Tailwind templates available here: https://uideck.com/templates/tag/tailwind/ Just curious, TailAdmin appears to only have the "admin" pages present and not pages for landing page, blog, and other pages for a full site. Again, not knowing much about web dev really at all, what is the relative difficulty of mixing/combining one of the more general SaaS tailwind templates at the link above with the TailAdmin template and incorporating it in the open-saas template with Wasp?
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
Ok ... thanks so much. Will give it a try.
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
Thanks ... I'm seeing an error when I perform a wasp start. I think it has to do with the fact that I'm running a local LLM application (Ollama) on port 3000 so vite starts up the application on port 3001 instead. As a result, I'm getting an error in the terminal: [nodemon] app crashed - waiting for file changes before starting Just curious is port 3000 hard-coded into the opensaas app by chance and could this be causing the 404 error?
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
Wow ... thank you so much for taking the time to write such an incredible response! I totally misssed the user/pass details for postgress on startup. That is fantastic! At this time, I was NOT planning on deploying to Fly but you all do create a Docker compose file that can be utilized for deployment to other hosting providers via VPS, correct? Lastly, I was playing around with the simple user/pass login and was getting a 404 error. Any ideas?
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
@Vinny (@Wasp) As for the database ... I'm running nightly jobs in Python that need to update several tables using SQLAlchemy or something like that. I fired up the open saas demo and launched the database and db studio but couldn't figure out how to connect to the database using something like DBeaver. Is there a default user/password that I missed in the documentation?
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
@matijash Sure ... the templates I was considering were the Pro versions of these two Free links: - https://www.creative-tim.com/product/blk-design-system-react - https://www.creative-tim.com/product/black-dashboard-react My guess is they should be similar. There is another template I haven't purchased but I'm taking a look at as well. While it is not free, it has a free "relative" which is located here: https://github.com/primefaces/sakai-react Would love to hear your thoughts on which would be easiest to integrate.
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
Thanks so much @matijash ! I was doing some exploring and it certainly looked possible. Let me DM you with a link to the files since it is under license. The thing I haven't been able to figure out is how to access the postgres tables directly and insert my data. I really would like to avoid the seeding method described in the docs and since its postgres, there has to be a way to do it ... I just haven't found it yet. Thanks again!
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
Thanks for the database link. I'll play around with this. The example provided shows using a seed function within the Framework, but I'm looking to probably do an insert into a Postgres table via some sort of Airflow/Cron job on a regular basis. Let me see what the DB looks like after following the instructions and see if I can access it with proper credentials.
29 replies
WWasp-lang
Created by narrowgate on 2/5/2024 in #đŸ™‹questions
Frontend React Template integration into OpenSaas template
thanks @Vinny (@Wasp) ... not exactly the answer I was hoping for, but I completely understand. I have been working through the tutorials and they are all excellent. In fact, they are so good and make the framework appear so approachable that it is probably what prompted my moonshot question. I'll keep poking around, learning, and see what I can come up with. Question about the database, I don't know much about Prisma but do they have an API to populate the database that is preferred or is it possible to just connect to the postgres database itself and insert data?
29 replies