[Open Source] ERPNext: Accounting, Expenses and Full ERP for Small Business
![[Open Source] ERPNext: Accounting, Expenses and Full ERP for Small Business](https://yy123.ink/api/img/smb-erpnext-1.png)
Overview
ERPNext is a complete open-source enterprise resource planning system maintained by the Frappe team. It covers the general ledger, receivables, payables, employee expenses, assets, stock, purchasing, sales, projects and HR. Unlike a single-purpose bookkeeping tool, it keeps business events and their accounting entries in one data model: approve an expense claim and the voucher is created; submit a sales invoice and the receivable and revenue account update together. For an owner who has outgrown spreadsheets plus a separate accounting package but still spends every month-end reconciling mismatches, ERPNext closes the loop between operations and finance.
Why it fits a small business
The usual problem is not that people cannot do the books; it is that operational data never reaches them. Sales agrees a price in a chat, the warehouse ships, and finance learns about the order at month end. Staff pay for supplies out of pocket, collect receipts, and wait two months for reimbursement. ERPNext connects quotations, orders, goods receipt, invoicing, payment and expenses in one line, leaving a document and a ledger entry at each step. The owner opens the workspace and sees cash, receivables, payables, profit and project progress without asking anyone to build a report.
What you can do
- General ledger with chart of accounts, journal entries and financial reports
- Receivables with sales invoices, payment reconciliation and ageing
- Payables with purchase invoices, payment schedules and supplier terms
- Expense claims submitted by staff and approved by managers
- Bank reconciliation, cash-flow forecasting and multi-currency accounts
- Asset register with capitalisation and depreciation
- Stock, warehouses, purchase orders and inventory valuation
- Projects, tasks and timesheets with budgets
- Role permissions, approval hierarchies and multi-company setups
Stack and license
ERPNext is built on Python and the Frappe framework, with a Vue-based Frappe UI, MariaDB for data and Redis for caching, queues and real-time updates. The official application image is published on Docker Hub; follow the v16 line and pin a concrete tag such as v16.60.0. Production deployment uses the Compose templates in the frappe_docker repository. GPL-3.0 allows internal use, modification and self-hosting. The project has more than forty thousand stars, an active forum and steady commits. The quick demo is explicitly for evaluation only; production requires creating a site as documented.
Deployment notes
A production Compose stack starts the application, nginx, MariaDB, Redis and several queue workers, with the web interface available on port 8080. On first start you create a site, supplying the site name, database address, administrator password and the erpnext app to install; only then can you log in. The common traps are straightforward. Too little memory stalls site creation during front-end build or database migration. A site name that differs from the external domain produces broken links. MariaDB character set and collation must follow the official template or Chinese vouchers may sort incorrectly. Always back up the site before upgrading rather than simply replacing images.
- Failed site creation points to database credentials, Redis connectivity or insufficient memory.
- An approved claim that posts no voucher means expense account mapping is missing.
- Chinese text problems in reports come from database charset and collation; follow the official template.
- Notifications that never arrive require SMTP, a correct site URL and healthy queue workers.
Resource footprint
This is the heaviest system in the batch. All containers together use roughly 3 to 4 GB of memory in steady state, with short spikes above 5 GB during site creation and migration, so start with 4 CPU / 8 GB and SSD storage. The image set is close to 2.5 GB, mostly Python dependencies, front-end build output and several service images. A team of ten using only finance and expenses can run at that size; enabling manufacturing, HRMS and multiple company accounts calls for 8 CPU / 16 GB and a separate database host.
Before you deploy
Write down the few facts that will be used every day before creating containers: the people who need access, the names of the main business objects, and the one workflow that must work on launch day. Most failed self-hosting projects do not fail because the software is broken; they fail because master data is messy and nobody agreed on who owns each step. Prepare persistent volumes, a final domain name and a working SMTP account now, since all three are painful to retrofit after staff have started using the system. If the tool will be reachable from the internet, plan for HTTPS from the first hour rather than as a later improvement.
Data organisation
Start small and real. Import a handful of current records rather than a perfect but imaginary dataset, then walk one complete cycle from creation to report. Give fields short, familiar names and resist adding custom fields until somebody asks for the same filter twice. Define roles at the same time as data: an owner who can see everything, a small group that can edit, and everyone else with read-only or self-service access. Write the three or four rules that matter most into a one-page guide, because a short guide that people read is more useful than a long manual that nobody opens. Review the structure after a month and remove fields that nobody uses.
Backup, upgrades and security
Every system in this batch stores its real value in two places: the database and the uploaded files. Back up both on the same schedule, keep one copy away from the host, and perform a restore drill at least once a quarter. Before replacing an image, read the release notes, take a fresh backup and, where practical, rehearse the upgrade on a test instance. Use one account per person, disable accounts immediately when someone leaves, and keep the administrator login for administration rather than daily work. Check public links and API tokens periodically; forgotten shares are a common source of leaks. HTTPS, strong passwords and a short access review every quarter are enough to protect a small business without building a security programme.
Getting started
- Prepare persistent volumes, the database, the final HTTPS address and the pinned image tag.
- Start the stack and complete the first-run wizard or site creation step before inviting anyone.
- Enter a small set of real master data and run one complete workflow to the final report.
- Assign roles, configure email notifications and document the three steps people will use daily.
- Schedule backups, rehearse a restore and only then make the system the team's default place to work.
Pitfalls
- Failed site creation points to database credentials, Redis connectivity or insufficient memory.
- An approved claim that posts no voucher means expense account mapping is missing.
- Chinese text problems in reports come from database charset and collation; follow the official template.
- Notifications that never arrive require SMTP, a correct site URL and healthy queue workers.
Who should use it
Growing companies that want operations and finance truly connected: trading, manufacturing, services and project-based teams. It is broader and heavier than Dolibarr, which is easier if you only need simple stock and invoicing, and Kimai is more direct if you only need time tracking. Choosing ERPNext means accepting a full ERP methodology in exchange for not paying for fragmented data over and over.
A typical day
The pattern is similar across these tools. In the morning someone opens the system instead of a chat thread, because that is where the current state lives. Work is recorded once, at the moment it happens, and the record carries enough context for a colleague to continue. During the day, filters and views answer the small questions that used to interrupt other people: what is waiting, what is overdue, and who owns the next step. At the end of the day or week, a report is generated from the same records rather than rebuilt by hand. That is the practical return on self-hosting: fewer repeated questions, fewer conflicting versions of the truth, and data that remains yours.
Links
Source repository | Container image | Official documentation
Having trouble setting up this project?
We have run “[Open Source] ERPNext: Accounting, Expenses and Full ERP for Small Business” locally and verified that it installs and the admin panel works. We can deploy it to your server.
- Starting at
- from $149
- Estimated time
- 48 hours
- Deployment notes
- Compose 编排、MariaDB/Redis 与队列服务、站点创建与账套初始化、HTTPS 反代 / Compose stack, MariaDB, Redis and workers, site and chart of accounts setup, HTTPS proxy
WeChat: ITcloub · Bring your own server and domain · Full refund if deployment fails