Skip to content

Commit

Permalink
Add mention of the seed.cr file to the tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Sep 11, 2024
1 parent 259b104 commit 04bbd29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/getting-started/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ myblog/
├── .editorconfig
├── .gitignore
├── manage.cr
├── seed.cr
└── shard.yml
```

Expand All @@ -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:
Expand Down

0 comments on commit 04bbd29

Please sign in to comment.