Library Management with Frappe Framework
App directory structure
Faris Ansari
May 19, 2021

Your app directory structure should look something like this:

apps/library_management
├── MANIFEST.in
├── README.md
├── library_management
│   ├── hooks.py
│   ├── library_management
│   │   └── __init__.py
│   ├── modules.txt
│   ├── patches.txt
│   ├── public
│   │   ├── css
│   │   └── js
│   ├── templates
│   │   ├── __init__.py
│   │   ├── includes
│   │   └── pages
│   │       └── __init__.py
│   └── www
├── requirements.txt
└── setup.py
  • library_management: This directory will contain all the source code for your app
    • public: Store static files that will be served from Nginx in production
    • templates: Jinja templates used to render web views
    • www: Web pages that are served based on their directory path
    • library_management: Default Module bootstrapped with app
    • modules.txt: List of modules defined in the app
    • patches.txt: Patch entries for database migrations
    • hooks.py: Hooks used to extend or intercept standard functionality provided by the framework
  • requirements.txt: List of Python packages that will be installed when you install this app
Have a doubt?
Post it here, our mentors will help you out.