Skip to content

Conversation

@CapnKernel
Copy link
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

netlify bot commented Dec 19, 2025

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

Name Link
🔨 Latest commit 9878f12
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6947a8f050c7ce0008d2147a

@CapnKernel
Copy link
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` | `[email protected]` | 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` | `[email protected]`<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
Contributor

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

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