Skip to content

core-initiative/frappe_docker

Repository files navigation

Docker Development Template for Frappe ERPNext

How to Use

  1. Build the docker image inside ihram folder, adjust the tag as you want
  2. Start the database & ihram container using command make erpnext-start. Use command make erpnext-stop to shutdown the app
  3. Connect to the container using docker exec for VS Code Dev Container

Setup Prerequisite

  1. Install npm v20, use nvm
  2. Install yarn using npm install -g yarn

How to Setup Frappe & ERPNext

  1. Init the frappe-bench with version-14
cd ~
bench init frappe-bench --frappe-branch version-15
  1. Edit the common_site_config.json add db_host and point the ip address to the mariadb container
  2. Run the bench
cd frappe-bench
bench start
  1. Create site and use it
bench new-site ihram.local
bench use ihram.local
  1. Get payment, erpnext & hrms app
bench get-app payments
bench get-app erpnext --branch version-14
bench get-app hrms --branch version-14
  1. Install app, make sure the bench start command is running before install
bench --site ihram.local install-app payments
bench --site ihram.local install-app erpnext
bench --site ihram.local install-app hrms

Docs Reference

  1. https://github.com/D-codE-Hub/Frappe-ERPNext-Version-14--in-Ubuntu-22.04-LTS

About

Docker template for development simple setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published