Top

Wapto documentation

Chat, collaborate, and create teams effortlessly with Wapto

Welcome to WAPTO!

Get an AI summary of this page

Overview

Replaces the old install wizard. You do not open https://your-api-domain/install or complete Envato steps in the browser. Seeding creates the default admin, roles, pages, and settings so you can log in to admin immediately after deploy.

Database seeding is the process of populating a database with an initial set of data. In Wapto, we use seeders to set up default configurations required for the platform to function correctly after a fresh installation.

The seeding process populates:

  • - Default Settings: Initial application settings.
  • - Landing Page: Default content for the public landing page.
  • - Roles & Permissions: Standard user roles (Admin, etc.) and access rights.
  • - Default Admin Account: A root administrator user to get you started.
  • - Pages: Core system pages (Privacy Policy, Terms, etc.).
  • - Currency: Available system currencies.
  • - Admin Templates: Pre-configured templates for the admin dashboard.
  • - AI Models: Initial configuration for AI capabilities.

How to Run Seeding

To seed all data to the database, navigate to your backend directory and run the following command:

  • npm run seed

Note: Ensure your .env file is correctly configured with your MongoDB connection string before running the seed command.