Blame

0c19e1 Hargata Softworks 2024-01-27 22:56:52 1
# Getting Started
2
## Docker
3
The Docker Container Repository is the most reliable and up-to-date distribution channel for LubeLogger.
53b5f4 Hargata Softworks 2024-10-14 19:43:53 4
You need to have Docker installed and Virtualization enabled(typically a BIOS setting).
5
6
[Youtube Tutorial](https://www.youtube.com/playlist?list=PL2aZOA2wNP8tn-Py-XTF-B6nfx8l-4SwA)
0c19e1 Hargata Softworks 2024-01-27 22:56:52 7
cf899e Hargata Softworks 2024-04-19 14:54:45 8
You will then clone the following files onto your computer from the repository
9
- docker-compose.yml(docker-compose-traefik.yml if using Traefik)
0c19e1 Hargata Softworks 2024-01-27 22:56:52 10
93bf14 Hargata Softworks 2024-10-15 17:12:21 11
Create a file named `.env` in the same folder as the docker compose file and use the [LubeLogger Configurator](https://lubelogger.com/configure) to generate the contents for it.
0c19e1 Hargata Softworks 2024-01-27 22:56:52 12
8e39f8 Hargata Softworks 2025-02-15 19:44:02 13
Note that the environment variables `LANG` and `LC_ALL` file is what will configure locale(currency, decimal, and date formats) that LubeLogger will use. Without these environment variables LubeLogger will default to
14
15
```
16
InvariantCulture
17
Currency: ยค 0.00
18
Date: MM/dd/yyyy
19
Decimal: 0.00
20
````
4a033e Hargata Softworks 2025-02-15 19:41:39 21
ff9a45 Hargata Softworks 2024-09-28 20:06:35 22
See [[Environment Variables|Advanced/Environment Variables]] for additional configuration
38a385 Hargata Softworks 2024-04-16 23:30:49 23
0c19e1 Hargata Softworks 2024-01-27 22:56:52 24
Once you're happy with the configuration, run the following commands to pull down the image and run container.
25
```
26
docker pull ghcr.io/hargata/lubelogger:latest
7da8aa Hargata Softworks 2024-04-23 22:17:27 27
docker compose up -d
0c19e1 Hargata Softworks 2024-01-27 22:56:52 28
```
29
By default the app will start listening at localhost:8080, this port can be configured in the docker-compose file.
30
92fc09 Hargata Softworks 2024-07-31 18:25:52 31
### Kubernetes Deployment
4cd21d Hargata Softworks 2024-07-31 18:16:33 32
[Helm Chart](https://artifacthub.io/packages/helm/anza-labs/lubelogger) provided by [Anza-Labs](https://github.com/anza-labs)
33
bf3d85 Hargata Softworks 2024-04-07 19:56:23 34
### Docker Manual Build(For Advanced Users)
35
1. Install Docker
87db70 Hargata Softworks 2024-04-07 19:57:02 36
2. Clone the repo
bf3d85 Hargata Softworks 2024-04-07 19:56:23 37
3. CHECK culture in .env file, default is en_US, also setup SMTP for user management if you want that.
38
4. Run docker build -t lubelogger -f Dockerfile .
39
5. CHECK docker-compose.yml and make sure the mounting directories look correct.
40
6. If using traefik, use docker-compose.traefik.yml
41
7. Run docker-compose up
42
120a93 Hargata Softworks 2024-07-03 15:17:07 43
### Edge-tagged Image
44
The `:edge` tagged Docker image may contain features that are considered experimental/not fully tested but have been merged into the main branch, use at your own risk. If you're building the Docker image manually and are cloning directly from the main branch of the repository, your local copy of the repository will contain those experimental features.
45
0c19e1 Hargata Softworks 2024-01-27 22:56:52 46
## Windows Standalone Executable
b3564d Hargata Softworks 2024-02-23 03:09:40 47
Windows Standalone Executables(EXE) are provided, and can be found under assets for the [latest release](https://github.com/hargata/lubelog/releases/latest)
48
ef104e Hargata Softworks 2024-09-28 20:04:54 49
![](/Installation/Getting%20Started/a/image-1727553838581.png)
0c19e1 Hargata Softworks 2024-01-27 22:56:52 50
73b328 Hargata Softworks 2024-01-27 22:59:57 51
To run the server, you just have to download the zip archive attached to the release, usually named LubeLogger_vNNN_win_x64.zip, extract the archive and double click on CarCareTracker.exe
0c19e1 Hargata Softworks 2024-01-27 22:56:52 52
53
Occassionally you might run into an issue regarding a missing folder, to fix that, just create a "config" folder where CarCareTracker.exe is located.
54
55
If you wish to set up SMTP when using this approach, you will have to configure the environment settings in appsettings.json located in the same folder as CarCareTracker.exe
56
You just have to add the MailConfig section into it, but I provided the full appsettings.json anyways as an example.
57
```
58
{
59
"Logging": {
60
"LogLevel": {
61
"Default": "Information",
62
"Microsoft.AspNetCore": "Warning"
63
}
64
},
65
"AllowedHosts": "*",
66
"UseDarkMode": false,
67
"EnableCsvImports": true,
68
"UseMPG": true,
69
"UseDescending": false,
70
"EnableAuth": false,
71
"HideZero": false,
72
"EnableAutoReminderRefresh": false,
73
"EnableAutoOdometerInsert": false,
74
"UseUKMPG": false,
75
"UseThreeDecimalGasCost": true,
76
"VisibleTabs": [ 0, 1, 4, 2, 3, 6, 5, 8 ],
77
"DefaultTab": 8,
78
"UserNameHash": "",
79
"UserPasswordHash": "",
80
"MailConfig": {
81
"EmailServer": "",
82
"EmailFrom": "",
83
"UseSSL": true,
84
"Port": 587,
85
"Username": "",
86
"Password": ""
87
}
88
}
89
90
```
91
When using this approach, the default port the app will be listening on is 5000, so you will navigate to localhost:5000
92
985a94 Hargata Softworks 2024-09-14 21:03:49 93
## Linux Baremetal
ef104e Hargata Softworks 2024-09-28 20:04:54 94
Linux executables are provided and can be found under assets for the [latest release](https://github.com/hargata/lubelog/releases/latest)
95
b11c9f Hargata Softworks 2024-10-04 20:02:24 96
[Youtube Tutorial](https://www.youtube.com/playlist?list=PL2aZOA2wNP8tR21myT_s0T0tneoRi0vdT)
97c2ea Hargata Softworks 2024-10-04 19:57:32 97
ef104e Hargata Softworks 2024-09-28 20:04:54 98
To run the Linux executable, download the zip file named LubeLogger_vNNN_linux_x64.zip, extract it and run the following commands:
99
985a94 Hargata Softworks 2024-09-14 21:03:49 100
```
101
chmod 777 ./CarCareTracker
102
./CarCareTracker
103
```
104
d08a0d Hargata Softworks 2025-01-10 15:56:00 105
Depending on your Linux distro, locale may or may not be passed in automatically by the OS, if you receive an Invariant Locale warning, run these commands instead:
106
107
```
108
chmod 777 ./CarCareTracker
109
LANG=en_US
110
./CarCareTracker
111
```
112
4a033e Hargata Softworks 2025-02-15 19:41:39 113
**Note:** `chmod 777` above is only used to rule out permission quirks/issues, please restrict the permissions to the lowest acceptable level once you have verified that LubeLogger can be executed on your machine. `LANG=en_US` is an example to configure LubeLogger to use English(United States) as a locale.
3abfdf Hargata Softworks 2024-11-13 14:50:16 114
0c19e1 Hargata Softworks 2024-01-27 22:56:52 115
## Test that It Works
116
Whichever path you choose, once you get the app up and running, just navigate to the IP address and port the server is listening to and you should be able to see the app