mirror of https://github.com/rusefi/msqur.git
4917f53621 | ||
---|---|---|
db | ||
doxygen | ||
src | ||
.hgignore | ||
38.msq | ||
39.msq | ||
LICENSE.md | ||
README.md | ||
deploy.sh | ||
ini-parsing.txt | ||
script.config.dist | ||
setup.sh | ||
update-db.sh |
README.md
MSQur
'Masker' for lack of better name. MegaSquirt MSQ file sharing and viewing site.
Parses MSQ "XML" in tandem with an associated INI (config) file and displays it in a familiar format for viewing and comparing.
TODO
- Uploader (user)/Manager (admin)
- 3D table charts
- Tests and test lib.
- Better DB update procedure.
Installation
Needed software
- AMP Stack: Apache, MySQL (MariaDB), PHP
- MySQL PDO extension for PHP:
/etc/php/php.ini
:extension=pdo_mysql.so
Arch Linux:
pacman -S apache mysql php php-apache
Recommended software
- phpMyAdmin - For managing the DB
- rsync - For the deployment script
Development Setup
Clone repo to dev directory
Copy script.config.dist to script.config
Copy src/config.php.dist to src/config.php
Create database for msqur, and assign it a user
Setup parameters in each config file
Update DB with update scripts in sequential order
Run deploy script
Test
hgrc
To display a fancy version string, modify your .hgrc to have this hook:
#!bash
[hooks]
post-update = hg log -r . --template "v{latesttag}-{latesttagdistance}-{node|short}\n" > VERSION
Update & Deployment Instructions
- Pull updates on host.
- Update any configuration files (config.php, script.config) if needed.
- Run any new DB scripts.
- Run deploy.sh to copy web files to web server.
License
msqur is licensed under the GPL v3.0. A copy of this license is included in the LICENSE.md file in the source tree.
Who do I talk to?
- Nicholas Earwood
- nearwood@gmail.com
- http://nearwood.net/
Credits
Apache, PHP, MySQL jQuery, jQuery UI, jquery.tablesorter http://tablesorter.com/docs/, Chart.js, AngularJS, Tango Icon Theme, Geany/Notepad++