project to control my trainset with a raspberry pi remotely (the server)
Copyright © 2016 Samuel Walladge
- assumes python3, and running on a raspberry pi
git clone $REPO cd $REPO pyvenv env source env/bin/activate pip install -U -r requirements.txt vim config.py # edit to suit
cd $REPO source env/bin/activate python app.py
I generally run the above in a tmux session for ease of debugging. A neat way is to install
tmuxinator, setup a project to call the above commands, and use cron to run
tmuxinator start the_project on reboot.
Trains - raspberry pi model railway controller server Copyright (C) 2016 Samuel Walladge This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.