{"id":398450,"date":"2023-09-15T12:16:46","date_gmt":"2023-09-15T12:16:46","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=398450"},"modified":"2023-09-15T12:16:53","modified_gmt":"2023-09-15T12:16:53","slug":"app-creation-and-app-installation-process-in-erpnext","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/","title":{"rendered":"App Creation and App installation process in ERPNext"},"content":{"rendered":"\n<p>In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github.<\/p>\n\n\n\n<p>We are going to create a new app here named library_management. We use bench commands to perform all the operations regarding the new app.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bench new-app library_management<\/pre>\n\n\n\n<p>(The above command will create all the necessary files for the app)<\/p>\n\n\n\n<p><strong>App Directory Structure<\/strong>:-<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">apps\/library_management\n\u251c\u2500\u2500 MANIFEST.in\n\u251c\u2500\u2500 README.md\n\u251c\u2500\u2500 library_management\n\u2502 &nbsp; \u251c\u2500\u2500 hooks.py\n\u2502 &nbsp; \u251c\u2500\u2500 library_management\n\u2502 &nbsp; \u2502 &nbsp; \u2514\u2500\u2500 __init__.py\n\u2502 &nbsp; \u251c\u2500\u2500 modules.txt\n\u2502 &nbsp; \u251c\u2500\u2500 patches.txt\n\u2502 &nbsp; \u251c\u2500\u2500 public\n\u2502 &nbsp; \u2502 &nbsp; \u251c\u2500\u2500 css\n\u2502 &nbsp; \u2502 &nbsp; \u2514\u2500\u2500 js\n\u2502 &nbsp; \u251c\u2500\u2500 templates\n\u2502 &nbsp; \u2502 &nbsp; \u251c\u2500\u2500 __init__.py\n\u2502 &nbsp; \u2502 &nbsp; \u251c\u2500\u2500 includes\n\u2502 &nbsp; \u2502 &nbsp; \u2514\u2500\u2500 pages\n\u2502 &nbsp; \u2502 &nbsp; &nbsp; &nbsp; \u2514\u2500\u2500 __init__.py\n\u2502 &nbsp; \u2514\u2500\u2500 www\n\u251c\u2500\u2500 requirements.txt\n\u2514\u2500\u2500 setup.py<\/pre>\n\n\n\n<p><strong>Description of all directories and files:-<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>library_management:- This directory will contain all the source code for your app\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>public:- It is a static folder and served by Nginx in production<\/li>\n\n\n\n<li>templates:- Jinja templates used to render web views<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>www:- Web pages that are served based on their directory path<\/li>\n\n\n\n<li>library_management:- Default Module bootstrapped with app<\/li>\n\n\n\n<li>modules.txt:- List of modules defined in the app<\/li>\n\n\n\n<li>patches.txt:- Patch entries for database migrations<\/li>\n\n\n\n<li>hooks.py:- Hooks used to extend or inherit standard functionality provided by the framework<\/li>\n\n\n\n<li>requirements.txt:- It contains a list of Python packages required by the app to work properly.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>App Installation on a specific site:-<\/strong><\/p>\n\n\n\n<p>In order to use the above-created app, we must have to install it on our site.<\/p>\n\n\n\n<p>The below bench command will install the app.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bench --site site_name install-app library_management<\/pre>\n\n\n\n<p>The below command will list all the installed apps on a site.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bench --site site_name list-apps<\/pre>\n\n\n\n<p><strong>Installing an app from the GitHub repository<\/strong><\/p>\n\n\n\n<p>If we have an app created and hosted on GitHub then we can get it and install.<\/p>\n\n\n\n<p>Use the below commands to get the app and then install it.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">bench get-app --branch main https:\/\/github.com\/library\/library_management.git\n\nbench --site site_name install-app library_management<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>NEED HELP?<\/strong><\/h2>\n\n\n\n<p>Hope you find the guide helpful! Please feel free to share your feedback in the comments below.<\/p>\n\n\n\n<p>If you still have any issues\/queries regarding the App installation process in ERPNext, please raise a ticket at<a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\" target=\"_blank\" rel=\"noreferrer noopener\"> https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/<\/a>.<\/p>\n\n\n\n<p>Also, please explore our <a href=\"https:\/\/webkul.com\/odoo-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">Odoo development services<\/a> &amp; an extensive range of quality <a href=\"https:\/\/store.webkul.com\/Odoo.html\" target=\"_blank\" rel=\"noreferrer noopener\">Odoo Apps<\/a><em>.<\/em><\/p>\n\n\n\n<p>For any doubt, contact us at <a href=\"mailto:support@webkul.com\" target=\"_blank\" rel=\"noreferrer noopener\">support@webkul.com<\/a>.<\/p>\n\n\n\n<p>Thanks for paying attention!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github. We are going to create a new app here named library_management. We use bench commands to perform all the operations regarding the new app. (The above command will create <a href=\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":537,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[14730,14733,14732,7767],"class_list":["post-398450","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-erpnext","tag-erpnext-app-install","tag-frappe","tag-github"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>App Creation and App installation process in ERPNext - Webkul Blog<\/title>\n<meta name=\"description\" content=\"In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"App Creation and App installation process in ERPNext - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-15T12:16:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-15T12:16:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sachin Chaudhary\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sachin Chaudhary\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\"},\"author\":{\"name\":\"Sachin Chaudhary\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/4b726ebe4732781356b6fb075467aea2\"},\"headline\":\"App Creation and App installation process in ERPNext\",\"datePublished\":\"2023-09-15T12:16:46+00:00\",\"dateModified\":\"2023-09-15T12:16:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\"},\"wordCount\":340,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"keywords\":[\"ERPNext\",\"ERPNext App Install\",\"Frappe\",\"Github\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\",\"url\":\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\",\"name\":\"App Creation and App installation process in ERPNext - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"datePublished\":\"2023-09-15T12:16:46+00:00\",\"dateModified\":\"2023-09-15T12:16:53+00:00\",\"description\":\"In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"App Creation and App installation process in ERPNext\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/4b726ebe4732781356b6fb075467aea2\",\"name\":\"Sachin Chaudhary\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/09b025f95758f10b8464ed643dc37ddbbff3e35c25d92e8712ae1aebce5cc885?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/09b025f95758f10b8464ed643dc37ddbbff3e35c25d92e8712ae1aebce5cc885?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sachin Chaudhary\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/sachin-odoo179\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"App Creation and App installation process in ERPNext - Webkul Blog","description":"In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/","og_locale":"en_US","og_type":"article","og_title":"App Creation and App installation process in ERPNext - Webkul Blog","og_description":"In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github.","og_url":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-09-15T12:16:46+00:00","article_modified_time":"2023-09-15T12:16:53+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-og.png","type":"image\/png"}],"author":"Sachin Chaudhary","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sachin Chaudhary","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/"},"author":{"name":"Sachin Chaudhary","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/4b726ebe4732781356b6fb075467aea2"},"headline":"App Creation and App installation process in ERPNext","datePublished":"2023-09-15T12:16:46+00:00","dateModified":"2023-09-15T12:16:53+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/"},"wordCount":340,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"keywords":["ERPNext","ERPNext App Install","Frappe","Github"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/","url":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/","name":"App Creation and App installation process in ERPNext - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"datePublished":"2023-09-15T12:16:46+00:00","dateModified":"2023-09-15T12:16:53+00:00","description":"In this Blog, we will see the app creation and app installation process in ERPNext and how to install a new app in ERPNext from Github.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/app-creation-and-app-installation-process-in-erpnext\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"App Creation and App installation process in ERPNext"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/4b726ebe4732781356b6fb075467aea2","name":"Sachin Chaudhary","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09b025f95758f10b8464ed643dc37ddbbff3e35c25d92e8712ae1aebce5cc885?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09b025f95758f10b8464ed643dc37ddbbff3e35c25d92e8712ae1aebce5cc885?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sachin Chaudhary"},"url":"https:\/\/webkul.com\/blog\/author\/sachin-odoo179\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/398450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/537"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=398450"}],"version-history":[{"count":17,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/398450\/revisions"}],"predecessor-version":[{"id":400527,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/398450\/revisions\/400527"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=398450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=398450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=398450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}