This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Raspberry PI without docker
Martin Schurig edited this page Mar 17, 2020
·
6 revisions
You will need to obtain a personal access token. Here is a tutorial on how to do it.
-
Install rbenv
-
Install ruby by with this command:
rbenv install 2.5.0
-
Clone this repository:
git clone [email protected]:schurig/ynab-bank-importer.git
and go in itcd ynab-bank-importer
-
Install the dependencies with
bundle install
-
Create a
config.yml
---
ynab:
access_token: # ynab access token
budget_id: # budget_id
cash_account_id: # optional
accounts:
- dumper: :n26
iban: # iban of your n26
ynab_id: # account id in YNAB
username: # email
password: # password
Example: config.sample.yml
or have a look in the documentation of each dumper.
The values should be written in quotes. For example password: "!mySuperSecret%Password^374"
.
ruby run.rb
# you might need to adjust the path to the project and to the ruby executable here
*/15 * * * * cd /home/pi/ynab-bank-importer && /home/pi/.rbenv/shims/ruby run.rb || mail -s "YNAB importer failed" [email protected]
Do you think something is missing or incorrect here? Please open an issue for it to be addressed.