Spaces:
Paused
Paused
Open Lovable - E2B Sandbox
This project is configured to use E2B sandboxes for code execution.
Setup
- Get your E2B API key from https://e2b.dev
- Get your Firecrawl API key from https://firecrawl.dev
- Copy
.env.exampleto.envand add your API keys - Run
npm installto install dependencies - Run
npm run devto start the development server
E2B Features
- Full-featured development sandboxes
- 15-minute default timeout (configurable)
- Persistent file system during session
- Support for complex package installations
- Built-in Python runtime for code execution
Configuration
You can adjust E2B settings in config/app.config.ts:
timeoutMinutes: Sandbox session timeout (default: 15)vitePort: Development server port (default: 5173)viteStartupDelay: Time to wait for Vite to start (default: 7000ms)
Troubleshooting
If you encounter issues:
- Verify your E2B API key is valid
- Check the console for detailed error messages
- Ensure you have a stable internet connection
- Try refreshing the page and creating a new sandbox
For more help, visit the E2B documentation.