You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a database (and a user) in your postgresql (or other) server for this project and fill in the details into `config/config.example.json` and `.env.example.` We'll need these files later.
36
+
Create a database (and a user) in your PostgreSQL (or other) server for this project and fill in the details into `config/config.example.json` and `.env.example.` We'll need these files later.
33
37
You can do this using the config setup wizard by running the `config-wizard.sh` script, or manually.
34
38
Note: for a detailed description of the possible config values visit [config.md](docs/config.md).
35
39
@@ -53,11 +57,15 @@ After successful start you can now visit idView.php or use the iOS widget after
53
57
54
58
## Contributing
55
59
56
-
Contributions are always welcome! You can help to improve the documentation, fix bugs in the code or even add new features.
60
+
Contributions are always welcome! You can help to improve the documentation, fix bugs in the code or add new features.
57
61
58
62
Creating a containerized version (for example docker and especially with letsencrypt/certbot support) or
59
63
improving the beginners guide are currently something I would love to have help with. Feel free to open a PR!
60
64
65
+
### A big 'Thank you!' to the following contributors
66
+
67
+
-@drego83 - Invaluable help with general testing and MySQL support
68
+
61
69
## Disclaimer
62
70
63
71
This project is not endorsed by Volkswagen in any way, shape or form. This project is to be used entirely at your own risk.
Copy file name to clipboardExpand all lines: docs/beginnerguide.md
+18-15Lines changed: 18 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,56 +1,57 @@
1
1
# Setup Guide for beginners
2
2
Hi! You want to use this project, but have little to no experience setting up servers?
3
-
Please free up a few hours for setting this project up.
3
+
Please free up about an hour for setting this project up.
4
4
5
-
Setting this project up is recommended on a raspberrypi for beginners. This guide assumes you are running on a raspberrypi.
6
-
If you do not have a raspberrypi handy, any Debian installation will also work with the easy install scripts and this guide.
5
+
Setting this project up is recommended on a Raspberry Pi for beginners. This guide assumes you are running raspbian.
6
+
If you do not have a Raspberry Pi handy, any Debian installation will also work with the easy install scripts and this guide.
7
7
8
8
Before we begin, let's go through what this project needs and does from a technical overview standpoint:
9
9
10
10
This project contains a long-running program which will fetch data from VW APIs regarding your car and store this data in a database.
11
11
It also provides a website where you can view this data. Furthermore, it provides an API itself to quickly fetch the current car Status for displaying in, e.g. the iOS widget.
12
12
13
-
So we have three components: The long-running programm, the database and a webserver to serve you the stats website or the data for the iOS widget.
14
-
All of this can run on a raspberrypi.
13
+
So we have three components: The long-running programm, the database and a webserver to serve you the statistics website or the data for the iOS widget.
14
+
All of this can run on a Raspberry Pi.
15
15
16
16
Let's get to work then.
17
17
18
18
## Prerequisites
19
19
You'll need
20
-
- a raspberrypi with an internet connection and raspbian installed (alternatively any machine with a debian installation works)
20
+
- a Raspberry Pi with an internet connection and raspbian installed (alternatively any machine with a debian installation works)
21
21
- a publicly routable IPv4 address if you want to use the widget and website from outside your home network (Some fibre plans for example do not include this)
22
22
23
-
We assume you have your raspberrypi freshly setup and have the command prompt in front of you.
23
+
We assume you have your Raspberry Pi freshly setup and have the command prompt in front of you.
24
24
There are plenty of guides on the internet on how to archive this.
25
25
26
-
You should see the following line: `pi@raspberrypi:~ $`
26
+
You should see the following line: `pi@Raspberry Pi:~ $`
27
27
28
-
We strongly recommend changing your password on the raspberrypi to a reasonably strong one.
28
+
We strongly recommend changing your password on the Raspberry Pi to a reasonably strong one.
29
29
30
30
Now you'll need to decide how you want to setup this project.
31
31
There is a one-line command which attempts to install this project automagically, but if you prefer to do some things manually and learn some things in the process jump to this [section](#installing-manually).
32
32
33
33
## Installing using the install script
34
34
35
35
The install script works and is tested on raspbian and debian.
36
-
It assumes you have a fresh OS, especially without any existing postgres or webserver installations.
36
+
It assumes you have a fresh OS, especially without any existing PostgreSQL or webserver installations.
37
37
38
38
Enter (or copy) the following command to download and run the install script:
The install script will produce a lot of output. After a few minutes you will be prompted for your VW account login information.
43
43
After you enter the information you should see `Installation complete, ...`.
44
-
You can now enter `./start.sh`, which will start the ID DataLogger and help you create an API key for your widget and a user for the web interface.
44
+
45
+
You can now enter `cd ./IDDatalogger` followed by `./start.sh`, which will start the ID DataLogger and help you create an API key for your widget and a user for the web interface.
45
46
For more information on setting up the iOS widget using the API key see [Setting up the iOS Widget](ioswidget.md).
46
47
47
48
After creating the API key and the user you should see `Done. Ready! Fetching car status...` and `Writing new data for timestamp`.
48
49
This means you have successfully setup the ID DataLogger!
49
-
Please shutdown the ID DataLogger using the key combination CTRL+C and reboot the raspberrypi using `systemctl reboot`
50
+
Please shutdown the ID DataLogger using the key combination CTRL+C and reboot the Raspberry Pi using `systemctl reboot`.
50
51
51
-
You can now access the ID DataLogger by entering `IP/vwid` into your browser where `IP` is the ip or hostname of your raspberry or using the iOS widget.
52
+
You can now access the ID DataLogger by entering `http://IP/vwid` into your browser where `IP` is the ip address or hostname of your raspberry or using the iOS widget.
52
53
53
-
To find the ip of your raspberrypi simply enter the command `hostname -I`
54
+
To find the ip address of your Raspberry Pi simply enter the command `hostname -I`
54
55
55
56
If you want to view the website and have the iOS widget update outside your home network, please refer to [making the ID DataLogger available from the internet](#making-the-id-datalogger-available-from-the-internet).
0 commit comments