W
Waspβ€’9mo ago
isaiah

How does the Wasp compiler work?

How does the Wasp compiler work? Do I still need the internet when using it?
10 Replies
kapa.ai
kapa.aiβ€’9mo ago
Hi @isaiah. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The Wasp compiler is at the core of the Wasp framework. It takes the Wasp configuration and your Javascript code and outputs the client app, server app, and deployment code. This process allows Wasp to handle a lot of tasks for you, such as login and signup with Auth UI components, full-stack type safety, e-mail sending, async processing jobs, React Query powered data fetching, security best practices, and more. You don't need to write any code for these features, Wasp will take care of it for you. As Wasp updates, so does your app source (https://wasp-lang.dev/docs). As for your second question, the Wasp compiler itself does not require an internet connection to function. However, certain operations such as installing dependencies or deploying your application will require an internet connection. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @isaiah, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
isaiah
isaiahOPβ€’9mo ago
@kapa.ai Which dependencies do I need to install every I use wasp start?
kapa.ai
kapa.aiβ€’9mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- When you run wasp start, Wasp will automatically handle the installation of necessary dependencies for your project. This includes both the dependencies specified in your Wasp project's package.json file and the dependencies declared in your .wasp files source (https://github.com/wasp-lang/wasp/issues/1597). However, there are some dependencies that you need to have installed on your machine before running wasp start: 1. Node.js: Wasp requires Node.js to run. If it's not installed, Wasp will warn you source (https://wasp-lang.dev/docs/quick-start#installation). 2. Docker: If you're using the dev database provided by Wasp, you'll need to have Docker installed source (https://discord.com/channels/686873244791210014/1215223623271321661). Please note that if you add a new dependency to your Wasp project, you might need to restart wasp start for the new dependency to be installed and used source (https://github.com/wasp-lang/wasp/issues/269). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @isaiah, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
isaiah
isaiahOPβ€’9mo ago
@kapa.ai Is Docker needed to use an sqlite database?
kapa.ai
kapa.aiβ€’9mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- No, Docker is not needed to use an SQLite database with Wasp. Docker is primarily used when you want to use the PostgreSQL dev database provided by Wasp. If you're using SQLite, you can run your Wasp app without needing Docker source (https://wasp-lang.dev/docs/data-model/backends#connecting-to-a-database). However, it's important to note that SQLite is recommended for quick prototyping and not for production use. For deploying a Wasp app, you'll need to switch to PostgreSQL source (https://wasp-lang.dev/docs/advanced/deployment/manually#deploying-a-wasp-app). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @isaiah, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
miho
mihoβ€’9mo ago
The bot is doing a good job it seems πŸ€—
isaiah
isaiahOPβ€’9mo ago
Yeah so nice so far.
miho
mihoβ€’9mo ago
Surprisingly good
isaiah
isaiahOPβ€’9mo ago
But won't this bot keep pinging you guys after every response?
miho
mihoβ€’9mo ago
We still want to handle each question πŸ™‚ we learn a lot about what people want and need If the bot answers a simple question 100% that's also cool πŸ™‹β€β™‚οΈ but a lot of the questions are nuanced so we jump in
Want results from more Discord servers?
Add your server