Can I run worpress on replit (and maybe use the replit agent to make changes to my website)? I was able to run a wordpress project but instead of using mysql as database I used sqlite. It was just a test and with more config it's also possible to use the postgres database provided by replit. Next step? Deploy it to production (a php hosting) using CICD with github actions.
Interesting experiment, Rondon. Running WordPress on Replit with SQLite/Postgres is a solid proof of concept. Have you already completed the CI/CD deployment to a production PHP host with GitHub Actions, or is that still in progress? If you haven’t gotten it done yet, I’m happy to help or share a clean approach.
There should be some config in wrangler.toml to work with a local database in an environment that is not production Execute this to run migrations: wrangler d1 migrations apply --local DB
I'm working since last year around this date on this webapp to help my landlord mange all the rental properties. For the moment it only helps to create a letter that should be send to tenants each year for extra expenses. Now I decided to work on a small landing page to attract new customers and I wanted to share it with the community. All questions are welcome! https://anudis.com/
Question to ChatGPT: How to configure cors for a cloudflare worker to allow requests. Response: To configure CORS for a Cloudflare Worker, you must manually set the appropriate Access-Control-* headers in the Worker’s response. Cloudflare Workers don’t have built-in CORS settings—you control everything in code.