Skip to content

Fetching Content

Ozu allows you to import locally the content you created from the Ozu Dashboard.

This can help you develop your website locally with real data.

Importing Content

Once you have configured your collections and settings and added some content in the Ozu Dashboard, you can fetch it locally to develop your website:

bash
php artisan ozu:import

WARNING

Ozu CMS uses a MySQL server and sends a dump to your client when fetching data, so you must use a mysql database driver in order for this command to work.

This command will:

  1. Download the latest content from the Ozu Dashboard.
  2. Synchronize it with your local database.
  3. Download any associated media files to your local public/storage directory.

TIP

You should run this command whenever you want to update your local data with the latest content from the dashboard.