Frappe Framework Revisting

Frappe Framework Revisting

Table of Contents

Frappe Framework Revisting


Prerequisites

Local Bare Metal Development

From Prerequisites get all things ready.

  1. Python
  2. Database Mariadb
  3. Node
  4. Git and Github

Basic Frappe Flow

alt text


The Bench


bench --version
5.25.1
bench init playground
cd playground

Bench structure:

atul_raj@nobara-pc:~/Desktop/GennextIT/research/Frappe-Playground/ground0$ tree -d -L 2
.
├── apps
│   ├── frappe
│   └── hello_frappe
├── config
│   └── pids
├── env
│   ├── bin
│   ├── include
│   ├── lib
│   ├── lib64 -> lib
│   └── share
├── logs
└── sites
    ├── assets
    └── hello.frappe

16 directories

The App

bench new-app hello_frappe

The Site

bench new-site hello.frappe
bench --site hello.frappe add-to-hosts
Docs
Now the site is accessible http://hello.frappe:8000

![alt text](image-2.png)

![alt text](image-3.png)

---

### The Frappe Development:

- [Docs](https://docs.frappe.io/framework/user/en/tutorial/create-a-doctype)

Start the bench in developer mode

```bash
bench set-config -g developer_mode true
bench start

The DocType

alt text

The Web View

The Architecture:

alt text

Tags :