Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bpmct/raspi-tools
A collection of tools & tutorials for getting started with the Raspberry Pi 😊
https://github.com/bpmct/raspi-tools
Last synced: 26 days ago
JSON representation
A collection of tools & tutorials for getting started with the Raspberry Pi 😊
- Host: GitHub
- URL: https://github.com/bpmct/raspi-tools
- Owner: bpmct
- Created: 2019-07-20T02:25:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-11T16:55:47.000Z (over 5 years ago)
- Last Synced: 2024-10-27T03:46:37.935Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# raspi-tools
A collection of tools & tutorials for getting started with the Raspberry Pi 😊Written (very quickly) with vanilla PHP & MySQL because it was what I knew those technologies best and I wanted to make it quickly.
Code isn't amazing but it does the job.
Latest (master) build is running on https://raspi.tools
Dev build is running on https://bpmct.net/projects/raspi
## Run this on your server:
A simple LAMP stack is required. Create a database and copy `db-conf.example.php` to `db-conf.php`. Then change database details. Import the tables structure by using the `tables.sql` file in MySQL Cli or PHPMyAdmin.
## Contributing
If you made changes to the DB structure, be sure to include the modified version of `tables.sql`. You can generate this by using PHPMyAdmin Export (structure only) or by using this command:
`mysqldump -d -u mysql_user -p database_name > tables.sql`
## Updating
To update to the latest version, simply run a `git pull` or replace your files. Import the latest `tables.sql` if you're OK with erasing your tables.
**Note:** If you don't want to lose your database info, open `tables.sql` and compare the table structures in the file with your table structures. Modify as necessary. Don't import the file before taking a look as it could your existing tables and re-create them. Will be improved later