Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Wiki needs to be updated #75

Open
kylemd opened this issue May 5, 2020 · 1 comment
Open

Wiki needs to be updated #75

kylemd opened this issue May 5, 2020 · 1 comment
Assignees

Comments

@kylemd
Copy link

kylemd commented May 5, 2020

Just finished installing this on a Raspberry Pi. Thought I'd share so this can be put on the Wiki page.
I know there is likely a more secure way to run this but I figured I'd post to open the dialog anyways.

Where it says to install requirements you need to specify Python 3 pip

sudo pip3 install -r requirements.txt

Make a new systemd service file

[Unit]
Description=7Eleven Fuel Lock
[email protected]

[Service]
Type=simple
ExecStart=/usr/bin/python3 [CLONED DIRECTORY]/app.py
StandardInput=tty-force

[Install]
WantedBy=multi-user.target

Reload systemd services and start it. Double check its' working

sudo systemctl daemon-reload
sudo systemctl enable 7Eleven.service
sudo systemctl start 7Eleven.service
sudo systemctl status 7Eleven.service
@freyta
Copy link
Owner

freyta commented May 18, 2020

Thank you. I'll get it up hopefully soon.

@freyta freyta self-assigned this May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants