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 | |
ff9a45 | Hargata Softworks | 2024-09-28 20:06:35 | 13 | See [[Environment Variables|Advanced/Environment Variables]] for additional configuration |
38a385 | Hargata Softworks | 2024-04-16 23:30:49 | 14 | |
0c19e1 | Hargata Softworks | 2024-01-27 22:56:52 | 15 | Once you're happy with the configuration, run the following commands to pull down the image and run container. |
16 | ``` | |||
17 | docker pull ghcr.io/hargata/lubelogger:latest | |||
7da8aa | Hargata Softworks | 2024-04-23 22:17:27 | 18 | docker compose up -d |
0c19e1 | Hargata Softworks | 2024-01-27 22:56:52 | 19 | ``` |
20 | By default the app will start listening at localhost:8080, this port can be configured in the docker-compose file. | |||
21 | ||||
92fc09 | Hargata Softworks | 2024-07-31 18:25:52 | 22 | ### Kubernetes Deployment |
4cd21d | Hargata Softworks | 2024-07-31 18:16:33 | 23 | [Helm Chart](https://artifacthub.io/packages/helm/anza-labs/lubelogger) provided by [Anza-Labs](https://github.com/anza-labs) |
24 | ||||
bf3d85 | Hargata Softworks | 2024-04-07 19:56:23 | 25 | ### Docker Manual Build(For Advanced Users) |
26 | 1. Install Docker | |||
87db70 | Hargata Softworks | 2024-04-07 19:57:02 | 27 | 2. Clone the repo |
bf3d85 | Hargata Softworks | 2024-04-07 19:56:23 | 28 | 3. CHECK culture in .env file, default is en_US, also setup SMTP for user management if you want that. |
29 | 4. Run docker build -t lubelogger -f Dockerfile . | |||
30 | 5. CHECK docker-compose.yml and make sure the mounting directories look correct. | |||
31 | 6. If using traefik, use docker-compose.traefik.yml | |||
32 | 7. Run docker-compose up | |||
33 | ||||
120a93 | Hargata Softworks | 2024-07-03 15:17:07 | 34 | ### Edge-tagged Image |
35 | 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. | |||
36 | ||||
0c19e1 | Hargata Softworks | 2024-01-27 22:56:52 | 37 | ## Windows Standalone Executable |
b3564d | Hargata Softworks | 2024-02-23 03:09:40 | 38 | Windows Standalone Executables(EXE) are provided, and can be found under assets for the [latest release](https://github.com/hargata/lubelog/releases/latest) |
39 | ||||
ef104e | Hargata Softworks | 2024-09-28 20:04:54 | 40 | ![](/Installation/Getting%20Started/a/image-1727553838581.png) |
0c19e1 | Hargata Softworks | 2024-01-27 22:56:52 | 41 | |
73b328 | Hargata Softworks | 2024-01-27 22:59:57 | 42 | 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 | 43 | |
44 | Occassionally you might run into an issue regarding a missing folder, to fix that, just create a "config" folder where CarCareTracker.exe is located. | |||
45 | ||||
46 | 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 | |||
47 | You just have to add the MailConfig section into it, but I provided the full appsettings.json anyways as an example. | |||
48 | ``` | |||
49 | { | |||
50 | "Logging": { | |||
51 | "LogLevel": { | |||
52 | "Default": "Information", | |||
53 | "Microsoft.AspNetCore": "Warning" | |||
54 | } | |||
55 | }, | |||
56 | "AllowedHosts": "*", | |||
57 | "UseDarkMode": false, | |||
58 | "EnableCsvImports": true, | |||
59 | "UseMPG": true, | |||
60 | "UseDescending": false, | |||
61 | "EnableAuth": false, | |||
62 | "HideZero": false, | |||
63 | "EnableAutoReminderRefresh": false, | |||
64 | "EnableAutoOdometerInsert": false, | |||
65 | "UseUKMPG": false, | |||
66 | "UseThreeDecimalGasCost": true, | |||
67 | "VisibleTabs": [ 0, 1, 4, 2, 3, 6, 5, 8 ], | |||
68 | "DefaultTab": 8, | |||
69 | "UserNameHash": "", | |||
70 | "UserPasswordHash": "", | |||
71 | "MailConfig": { | |||
72 | "EmailServer": "", | |||
73 | "EmailFrom": "", | |||
74 | "UseSSL": true, | |||
75 | "Port": 587, | |||
76 | "Username": "", | |||
77 | "Password": "" | |||
78 | } | |||
79 | } | |||
80 | ||||
81 | ``` | |||
82 | When using this approach, the default port the app will be listening on is 5000, so you will navigate to localhost:5000 | |||
83 | ||||
985a94 | Hargata Softworks | 2024-09-14 21:03:49 | 84 | ## Linux Baremetal |
ef104e | Hargata Softworks | 2024-09-28 20:04:54 | 85 | Linux executables are provided and can be found under assets for the [latest release](https://github.com/hargata/lubelog/releases/latest) |
86 | ||||
b11c9f | Hargata Softworks | 2024-10-04 20:02:24 | 87 | [Youtube Tutorial](https://www.youtube.com/playlist?list=PL2aZOA2wNP8tR21myT_s0T0tneoRi0vdT) |
97c2ea | Hargata Softworks | 2024-10-04 19:57:32 | 88 | |
ef104e | Hargata Softworks | 2024-09-28 20:04:54 | 89 | To run the Linux executable, download the zip file named LubeLogger_vNNN_linux_x64.zip, extract it and run the following commands: |
90 | ||||
985a94 | Hargata Softworks | 2024-09-14 21:03:49 | 91 | ``` |
92 | chmod 777 ./CarCareTracker | |||
93 | ./CarCareTracker | |||
94 | ``` | |||
95 | ||||
3abfdf | Hargata Softworks | 2024-11-13 14:50:16 | 96 | **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. |
97 | ||||
0c19e1 | Hargata Softworks | 2024-01-27 22:56:52 | 98 | ## Test that It Works |
99 | 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 |