diff --git a/README.md b/README.md index 9378dd7..7008868 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ ### Deployment 1. Build and push the image to your registry 2. Copy the docker-compose.yml to your server 3. Create the .env file with your environment variables -4. Run: `docker-compose up -d` +4. Run: `docker compose up -d` The application will automatically: - Wait for the database to be ready @@ -99,7 +99,20 @@ ### Deployment - Start the queue worker after migrations complete - Handle race conditions between web and queue containers -The web interface will be available on port 8000, ready for CloudFlare tunnel configuration. +### Initial Setup + +After deployment, the article refresh will run every hour. To trigger the initial article fetch manually: + +```bash +docker compose exec app-web php artisan article:refresh +``` + +The application will then automatically: +- Fetch new articles every hour +- Publish valid articles every 5 minutes +- Sync community posts every 10 minutes + +The web interface will be available on port 8000. ### Architecture