-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Feature/bare metal install improvements #11049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Feature/bare metal install improvements #11049
Conversation
Still needs testing and refinement
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
|
Seems the doc build check has failed. I put a possible web address of Suggestions? |
| 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` » `ENGINE`<br>`database` » `NAME`<br>`database` » `USER`<br>`database` » `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` » `sender`<br>`email` » `host`<br>`email` » `port`<br>`email` » `username`<br>`email` » `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` » `INVENTREE_DEFAULT_CURRENCY` | `USD` | See this list of [currency codes](https://en.wikipedia.org/wiki/ISO_4217). | |
There was a problem hiding this comment.
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
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.