# novel dev

You can run the Novel Development server by running

```sh
novel dev
```

This command does the following things

1. Loads the configuration and environment files
2. Runs the migration scripts from the relevant migration folders
3. Creates the base model files
4. Syncs the pricing configuration with Stripe
5. Set up Stripe CLI for local webhook usage
6. Compiles the mail templates
7. Runs the scheduler for task and background processing
8. Loads the API endpoints
9. Runs the server
10. Listens for file changes and restarts the server accordingly

{% hint style="info" %}
Debug and diagnostic information is available in the console when this command is running.
{% endhint %}

## Changelog

* 2024-12-20 - Initial Documentation


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.novel.dev/novel-server/novel-cli/novel-dev.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
