Go to file
nearwood 4917f53621 update config.dist 2016-03-20 22:40:39 -04:00
db api work. search added. browse upgrade. some html5 improvements. 2016-03-20 18:26:27 -04:00
doxygen Working on API and filter. 2015-10-14 21:31:38 -04:00
src update config.dist 2016-03-20 22:40:39 -04:00
.hgignore Working on API and filter. 2015-10-14 21:31:38 -04:00
38.msq Working on API and filter. 2015-10-14 21:31:38 -04:00
39.msq Working on API and filter. 2015-10-14 21:31:38 -04:00
LICENSE.md Working on API and filter. 2015-10-14 21:31:38 -04:00
README.md api work. search added. browse upgrade. some html5 improvements. 2016-03-20 18:26:27 -04:00
deploy.sh api work. search added. browse upgrade. some html5 improvements. 2016-03-20 18:26:27 -04:00
ini-parsing.txt Working on API and filter. 2015-10-14 21:31:38 -04:00
script.config.dist Working on API and filter. 2015-10-14 21:31:38 -04:00
setup.sh api work. search added. browse upgrade. some html5 improvements. 2016-03-20 18:26:27 -04:00
update-db.sh Working on API and filter. 2015-10-14 21:31:38 -04:00

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

  • 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?

Credits

Apache, PHP, MySQL jQuery, jQuery UI, jquery.tablesorter http://tablesorter.com/docs/, Chart.js, AngularJS, Tango Icon Theme, Geany/Notepad++