From 04bbd29a826463993c746cf3d2916b987f88c64c Mon Sep 17 00:00:00 2001 From: Morgan Aubert Date: Tue, 10 Sep 2024 21:25:49 -0400 Subject: [PATCH] Add mention of the seed.cr file to the tutorial --- docs/docs/getting-started/tutorial.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/getting-started/tutorial.md b/docs/docs/getting-started/tutorial.md index d44478d9..77b6f84b 100644 --- a/docs/docs/getting-started/tutorial.md +++ b/docs/docs/getting-started/tutorial.md @@ -57,6 +57,7 @@ myblog/ ├── .editorconfig ├── .gitignore ├── manage.cr +├── seed.cr └── shard.yml ``` @@ -70,6 +71,7 @@ These files and folders are described below: | .editorconfig | Regular `.editorconfig` which file defines basic indentation coding styles for Crystal. | | .gitignore | Regular `.gitignore` file which tells git the files and directories that should be ignored. | | manage.cr | This file defines a CLI that lets you interact with your Marten project in order to perform various actions (e.g. running database migrations, collecting assets, etc). | +| seed.cr | This file can be used to define logics for populating your project's database with initial or default data. | | shard.yml | The standard [shard.yml](https://crystal-lang.org/reference/the_shards_command/index.html) file, that lists the dependencies that are required to build your application. | Now that the project structure is created, you can change into the `myblog` directory (if you haven't already) in order to install the project dependencies by running the following command: