Skip to content

Feature/bare metal install improvements#11049

Open
CapnKernel wants to merge 8 commits into
inventree:masterfrom
CapnKernel:feature/bare-metal-install-improvements
Open

Feature/bare metal install improvements#11049
CapnKernel wants to merge 8 commits into
inventree:masterfrom
CapnKernel:feature/bare-metal-install-improvements

Conversation

@CapnKernel
Copy link
Copy Markdown
Contributor

Hi @SchrodingersGat,

In #10829 you encouraged me to keep going with my rewrite of the bare metal install instructions. Well I'm back with a new installment. It's now close to being done but needs some further refinement and testing.

This is not ready for committing to master yet, but could be put on a branch

I think the diff compared to master won't be useful reading. I suggest either reviewing the second commit, or reading the rendered read the docs version.

I look forward to your feedback.

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 19, 2025

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit a29f8a8
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69c037d8f60914000887b0fc

@CapnKernel
Copy link
Copy Markdown
Contributor Author

Seems the doc build check has failed. I put a possible web address of https://itree.example.com/ into install.md, but even though it's backquoted rather than a clickable link, the checker didn't like it.

Suggestions?

@SchrodingersGat SchrodingersGat added setup Relates to the InvenTree setup / installation process documentation labels Dec 21, 2025
@SchrodingersGat SchrodingersGat added this to the 1.2.0 milestone Dec 21, 2025
Comment on lines +124 to +136
Several more options need settings, but these depend on your particular installation. Here is an example configuration for a site running at `https://itree.example.com/`, using a MariaDB database backend. Choose values suitable for your installation.

```
pip install --upgrade --ignore-installed invoke
```
| Option name | Value | Notes |
|-------------|-------|-------|
| `site_url` | `https://itree.example.com/` | Use http://localhost:8000 for local testing. |
| `database` &raquo; `ENGINE`<br>`database` &raquo; `NAME`<br>`database` &raquo; `USER`<br>`database` &raquo; `PASSWORD` | `mysql`<br>`inventree`<br>`dbuser`<br>`VeryC0mPLekSP4SS` | For configuring other databases, see [Database configuration for Django](https://docs.djangoproject.com/en/5.2/ref/databases/). Database creation is covered below.|
| `admin_url` | `itree-admin` | Moves admin interface to `https://itree.example.com/itree-admin/`, to reduce scripted attacks. |
| `admin_email` | `itree-admin@example.com` | Who puzzled users should email.
| `admin_password` | `^TotalllllyUnge55ible` | Password for the admin user. |
| `language` | `en-US` | See this list of [language codes](http://www.i18nguy.com/unicode/language-identifiers.html). |
| `timezone` | `Australia/Hobart` | See this list of [timezone names](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). |
| `email` &raquo; `sender`<br>`email` &raquo; `host`<br>`email` &raquo; `port`<br>`email` &raquo; `username`<br>`email` &raquo; `password` | `itree@example.com`<br>`mail.unst0ppable-email.com`<br>`2525`<br>`itree`<br>`tHE_n4emOfMyCAT` | Credentials and connection details for your favorite email sending company. See [Django email settings](https://docs.djangoproject.com/en/5.2/ref/settings/#email-backend). |
| `global_settings` &raquo; `INVENTREE_DEFAULT_CURRENCY` | `USD` | See this list of [currency codes](https://en.wikipedia.org/wiki/ISO_4217). |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not agree with providing a static sample config; this would have to be upkept regularly when mechanisms change - we already have a problem with docs drift.
Are you committed to keep this section up to date? If not, I would like this removed

@SchrodingersGat SchrodingersGat modified the milestones: 1.2.0, 1.3.0 Feb 10, 2026
@SchrodingersGat SchrodingersGat modified the milestones: 1.3.0, 1.2.5, 1.4.0 Mar 18, 2026
@SchrodingersGat SchrodingersGat removed this from the 1.4.0 milestone May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants