Initial Seed

Structr uses the file in the working directory to initialize the database with some default data:

  • the admin user
  • the Welcome page
  • files for the Welcome page (CSS, JS, Images)
  • a Dynamic Type: SampleApplication (see Custom Types and Schema)
  • dynamic properties on the User type: age, dateOfBirth and isAwesome (see Custom Types and Schema)

For a short guide about how to prevent the initial seed file from being loaded refer to “How to start Structr with an empty database”

About this article
Last change 2017-05-04
Topics Structr 2.0