1. Getting started
Ovelta ERP is a business ERP that you run yourself. Accounting, human resources and payroll, CRM, projects, inventory and the point of sale live in one application on top of one MySQL database. There is no monthly fee, no seat count and no service outside your own server that the product talks to.
One binary
The interface, the templates and the stylesheet sit inside the program. There is nothing else to deploy.
One database
Everything is stored in MySQL, so you can back it up, copy it or read it with the tools you already know.
One install
The installer prepares the database, the tables and the first administrator account for you.
Your data
Nothing leaves your server. The product does not call home and there is no account to register with.
2. Requirements
| Item | Version | Note |
|---|---|---|
| Operating system | Linux, macOS or Windows | Any 64 bit machine of the last ten years is fast enough. |
| Database | MySQL 5.6 or newer, or a compatible MariaDB | The installer creates the database and the user. |
| Memory | 1 GB or more | 2 GB is comfortable for a company with a few hundred records a day. |
| Disk | 2 GB | The program itself is a few megabytes, the rest is your data and the logs. |
| Go toolchain | 1.22 or newer | Only needed when you want to build the server from the source. The package ships a server that is already built. |
The product runs behind any web server that can pass requests to it, and it speaks plain HTTP, so you can put it behind Nginx, Apache, Caddy or a load balancer.
3. Installation
On Linux and macOS
- Copy the package to the server and unpack it.
- Make the installer runnable and start it:
chmod +x install.sh
./install.sh --db-user ovelta --db-password "a password of your choice" --admin-email you@example.com - The installer creates the database, the user and the configuration file, then places the server in the folder it was started from.
- Start the server and open the address in your browser:
./ovelta-erp
The installer prints the address and the administrator account when it is done. When you leave the password empty it generates one and prints it, so write it down.
Useful options
| Option | What it does |
|---|---|
--db-host, --db-port | Where the database listens. The default is 127.0.0.1 on port 3306. |
--db-user, --db-password, --db-name | The account and the database of the installation. |
--app-port | The port of the web interface. The default is 8080. |
--admin-email, --admin-password | The administrator account that is created. |
--url | The public address. It is used in the metadata of the product page and in the links of the e-mail templates. |
--no-demo | Install without the prepared example company. |
--prebuilt | Always use the server that ships with the package, even when Go is installed. |
--start | Start the server when the installation is done. |
On Windows
Open an elevated PowerShell window in the unpacked package and run:
.\install.ps1 -DbUser ovelta -DbPassword "a password of your choice" -AdminEmail you@example.com -Start
Running it as a service
On Linux the usual way is a systemd unit. Point it at the folder where the installer placed the server:
[Unit]
Description=Ovelta ERP
After=network.target mysql.service
[Service]
User=www-data
WorkingDirectory=/opt/ovelta
ExecStart=/opt/ovelta/ovelta-erp
Restart=always
RestartSec=5
Environment=APP_PORT=8080
[Install]
WantedBy=multi-user.target
Run systemctl enable ovelta and systemctl start ovelta. The unit reads the configuration file next to the server, so the settings stay in one place.
4. The first sign in
Open the address of the installation, sign in with the administrator account and change the password under Settings, Users straight away. The interface then shows the dashboard with the figures of your company.
Every screen follows the same pattern. A list shows the records with a search field, filters and an export button. The button on the right opens the form of one record. The form saves with the button at the bottom, and the sidebar on the left opens every module.
5. The demo company
The installer loads a complete example company unless you ask for a clean installation with --no-demo. The demo carries a chart of accounts, four departments, six employees, a payroll run, attendance and leave records, eight products with stock in two warehouses, four customers, two suppliers, invoices, expenses, till sales, a project with tasks and timesheets, leads, deals, a contract, a job posting, candidates and a training plan.
The administrator of the demo is admin@ovelta.local with the password admin1234. Change it before you use the installation for real work.
6. Dashboard
The dashboard opens with the figures of the current month: revenue, expenses, cash on hand and the outstanding invoices, followed by the headcount, the open tasks, the value of the stock and the open leads. The chart below draws the income and the expenses of the last twelve months straight from the general ledger.

7. Accounting
Every posting writes a balanced journal entry, so the reports are always a calculation and never a hand typed number.
Invoices
An invoice carries lines with a product, a description, a quantity, a price and a tax rate. A new invoice starts as a draft. Posting it writes the entry, moves the amount to the receivable and shows the invoice in the ledger. Recording a payment reduces the balance and settles the invoice.

Estimates, expenses and payments
Estimates are quotes that can be turned into an invoice with one click. Expenses carry a category and a payment method and post to the expense account. Payments and receipts record what came in and what went out and reduce the open invoices.
Journals, taxes and budgets
The chart of accounts holds the accounts, their type and their number. Tax rates carry a percentage, expense categories group the spending and budgets compare a plan with the real figures of a period.
The reports
The trial balance lists every account with its debits and credits and the difference between them. The balance sheet shows what the company owns and owes, and the profit and loss statement shows the result of the period.



8. Human resources
The people side of the business, from the first day of a job to the appraisal.
Employees and departments
An employee carries a code, a name, an address, a department, a designation, an employment type, a salary and a status. The department list holds the organisational structure and the manager of every unit.

Attendance and leave
Shifts describe the working day with its start, its end, the break and the grace minutes. Attendance records the check in and the check out of every employee on every day. Leave requests go through the workflow and reduce the allowance of the employee.
Payroll and payslips
A payroll run gathers the salary of every active employee, adds the overtime and the deductions and writes the payslips. Marking the run as paid posts the entry: the salary expense goes up and the payable to the employees goes up with it.

Recruitment and performance
Job postings open a position, candidates arrive with their application and move through the stages. Goals, appraisals and trainings follow the staff. Assets, documents, policies, announcements, events, complaints, warnings, promotions, transfers, resignations and terminations keep the history of the company complete.


9. CRM
Leads come in with a source, move through the stages of the pipeline and become deals. A deal can become a contract, and a converted lead becomes a customer you can invoice.


The form builder lets you add your own fields to the leads and the deals. The activity notes keep the history of a contact, and the calendar shows what happens when.
10. Projects
A project carries a code, a name, a client, a budget, a start and a due date. Its work lives in tasks and milestones, the hours live in the timesheets and the problems live in the issues.


11. Inventory
Products and services carry a code, a category, a price, a cost price and a tax rate. Warehouses hold the stock, and every movement writes a row with the quantity, the reason and the user who made it.


Every table exports to CSV, and the stock list can be imported again from a CSV file with the same columns.
12. Point of sale
The till searches the catalogue by name, SKU or barcode. Clicking a product adds it to the basket, the quantity can be changed, and the total follows. Choose the warehouse, the customer and the payment method, enter the money you received and the change is calculated for you.

A completed sale reduces the stock of the warehouse, grows the cash account, writes the sales entry and shows the receipt.

Purchases record what you buy from a supplier, and the reports compare the purchases with the sales of the day and the month.

13. Reports
Six reports cover the work of the company: sales, purchases, stock, payroll, employees and CRM. Every table of the product can also be exported to CSV from its own list.

14. Settings and access
The company profile holds the name, the address, the currency and the fiscal year. The users are the people who sign in, and every user carries a role.

Roles and permissions
Six roles ship with the product: administrator, manager, accountant, human resources, sales and employee. The matrix decides what every role may see and change, and you can edit it.

Modules, e-mail templates and the activity log
The module switches turn the parts of the product off that your company does not use. The e-mail templates hold the text of the messages the product sends. The activity log writes every change with the user, the time and the detail.



API tokens
A token lets a script of yours use the REST API. Create it under Settings, API tokens, keep the secret it shows once, and send it with every call in the Authorization header.

15. The REST API
Version 1 of the API lives under /api/v1 and answers JSON. It is meant for the scripts that sit next to your ERP, not for the interface.
Sign in and read
curl -X POST https://erp.example.com/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"admin@example.com","password":"your password"}'
The answer carries a token and the profile of the user:
{"token":"ov_9f2c...","user":{"id":1,"name":"Administrator","email":"admin@example.com","role":"admin"}}
Send the token with every later call:
curl https://erp.example.com/api/v1/hrm/employees \
-H "Authorization: Bearer ov_9f2c..."
The routes
| Route | What it does |
|---|---|
POST /api/v1/auth/login | Exchanges an address and a password for a token. |
GET /api/v1/me | The profile and the permissions of the caller. |
GET /api/v1/dashboard | The figures of the dashboard. |
GET /api/v1/resources | The catalogue of the collections with their module and their permission. |
GET /api/v1/{module}/{collection} | The records, with limit, offset and a search. |
POST /api/v1/{module}/{collection} | Creates a record and answers with it. |
GET /api/v1/{module}/{collection}/{id} | One record. |
PUT /api/v1/{module}/{collection}/{id} | Changes the fields that are sent. |
DELETE /api/v1/{module}/{collection}/{id} | Removes a record. |
POST /api/v1/pos/sale | Rings up a sale at the till. |
GET /api/v1/reports/sales | The sales report with the totals. |
Example: create a department
curl -X POST https://erp.example.com/api/v1/hrm/departments \
-H "Authorization: Bearer ov_9f2c..." \
-H "Content-Type: application/json" \
-d '{"name":"Support","code":"SUP","description":"Customer support"}'
Errors
Every error carries a code and a message:
{"error":{"code":"FORBIDDEN","message":"Your role cannot create records here."}}
| Code | When it happens |
|---|---|
| UNAUTHENTICATED | No token, or a token that does not exist or has expired. |
| FORBIDDEN | The role of the caller may not do this. |
| NOT_FOUND | The record does not exist. |
| INVALID_BODY | The JSON body could not be read, or a field holds the wrong kind of value. |
| CREATE_FAILED, UPDATE_FAILED | The database refused the change, for example a code that is already taken. |
16. Configuration
The server reads a file called .env that sits next to the program. An environment variable always wins over the value in the file, so a service manager can override anything without touching the file. The file .env.example in the package holds every setting with its default.
| Variable | Default | What it does |
|---|---|---|
| APP_NAME | Ovelta ERP | The name in the title bar and in the e-mail templates. |
| APP_PORT | 8080 | The port of the web interface. |
| APP_URL | http://localhost:8080 | The public address, used in the metadata and in the links. |
| DB_HOST, DB_PORT | 127.0.0.1, 3306 | Where the database listens. |
| DB_USER, DB_PASSWORD, DB_NAME | ovelta, empty, ovelta_erp | The account and the database. |
| ADMIN_EMAIL, ADMIN_PASSWORD | admin@ovelta.local, empty | The administrator account. The server creates it and keeps the password in step with the file. |
| SEED_DEMO | false | Loads the prepared example company on an empty database. |
| COOKIE_SECURE | true | Set to false only while you are testing over plain HTTP. |
| SESSION_TTL_HOURS | 336 | How long a session stays valid. |
| FRAME_OPTIONS, FRAME_ANCESTORS | SAMEORIGIN, self | The frame policy, for the preview of the product page. |
| COMPANY_NAME, CURRENCY, CURRENCY_SYMBOL | Your Company, USD, $ | The company of the installation and its money. |
| MAIL_HOST, MAIL_PORT, MAIL_USER, MAIL_PASS, MAIL_FROM, MAIL_TLS | empty, 587 | The SMTP server for the e-mail templates. |
| LICENCE_MODE | off | The licence check. It is off by default and the product works without it. |
ADMIN_PASSWORD value stays in the file. Keep the file readable by the user that runs the server only, and never put it in a public folder.17. Behind a web server
Put the server behind Nginx or Apache and let the web server handle HTTPS. A small Nginx block that works:
server {
listen 443 ssl;
server_name erp.example.com;
ssl_certificate /etc/letsencrypt/live/erp.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/erp.example.com/privkey.pem;
client_max_body_size 20m;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Set COOKIE_SECURE=true afterwards, so the session cookie only travels over HTTPS. The program serves its own stylesheet, its icons and its script from /static, so the web server must let that path through untouched.
18. Backup and restore
Everything lives in one MySQL database, so a backup is a dump of that database plus the configuration file.
mysqldump -u ovelta -p --single-transaction --routines ovelta_erp > ovelta-$(date +%F).sql
cp .env ovelta-$(date +%F).env
Restore it with:
mysql -u ovelta -p ovelta_erp < ovelta-2026-01-31.sql
Stop the server while you restore, otherwise a record can be written while the dump is loaded.
19. Troubleshooting
The server does not start
Start it in the foreground and read the message. The usual reason is the database: check the host, the port, the user, the password and the name in the .env file.
mysql -h 127.0.0.1 -u ovelta -p -e "SHOW DATABASES"
The page loads but shows an error
Look at the log of the server. With the file .env you can also write the messages to a file by setting LOG_FILE=/var/log/ovelta/erp.log.
The sign in is refused
The account has to be active and the password has to match. The administrator of the installation comes from ADMIN_EMAIL and ADMIN_PASSWORD; change the password there, restart the server and sign in again. The reset page at /reset sends the same message whether the address exists or not.
The port is already in use
ss -ltnp | grep 8080
Stop the process that holds the port or choose another port with --app-port.
The page loads without any styling
The web server in front of the product must not block or rewrite /static. Check that the file answers:
curl -I https://erp.example.com/static/css/app.css
The numbers look wrong
Check the trial balance first. If the debit and the credit side differ, a journal entry was edited by hand in the database. Every posting the product makes is balanced, so a difference points at a change outside the interface.