mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
21 lines
300 B
Markdown
21 lines
300 B
Markdown
# Seeding
|
|
|
|
## Seeding The Database
|
|
|
|
Optionally you can seed the GraphQL service by executing mutations that will write sample data to the database:
|
|
|
|
{% tabs %}
|
|
{% tab title="Yarn" %}
|
|
```bash
|
|
yarn db:seed
|
|
```
|
|
{% endtab %}
|
|
|
|
{% tab title="NPM" %}
|
|
```bash
|
|
npm run db:seed
|
|
```
|
|
{% endtab %}
|
|
{% endtabs %}
|
|
|