Before we can create DocTypes, we need to enable developer mode. This will enable boilerplate creation when we create doctypes and we can track them into version control with our app.
Go to your terminal and from the frappe-bench
directory, run the following command:
$ bench --site library.test set-config --global developer_mode 1
This step has to be done immediately after site is created , else doctype folder was not visible in apps/librarymanagement/librarymanagement