Add refresh instructions

This commit is contained in:
myrmidex 2025-07-02 20:14:35 +02:00
parent 87bfefd949
commit c16f8efbf0

View file

@ -91,7 +91,7 @@ ### Deployment
1. Build and push the image to your registry 1. Build and push the image to your registry
2. Copy the docker-compose.yml to your server 2. Copy the docker-compose.yml to your server
3. Create the .env file with your environment variables 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: The application will automatically:
- Wait for the database to be ready - Wait for the database to be ready
@ -99,7 +99,20 @@ ### Deployment
- Start the queue worker after migrations complete - Start the queue worker after migrations complete
- Handle race conditions between web and queue containers - 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 ### Architecture