diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..255d46a --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +scores/ +temp/ +sources/ +include/credentials.php +*~ +license.txt +readme.html +index.php +wp-activate.php +wp-admin/ +wp-blog-header.php +wp-comments-post.php +wp-config-sample.php +wp-config.php +wp-content/ +wp-cron.php +wp-includes/ +wp-links-opml.php +wp-load.php +wp-login.php +wp-mail.php +wp-settings.php +wp-signup.php +wp-trackback.php +xmlrpc.php diff --git a/README.md b/README.md index 4748a0d..10e5579 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,14 @@ * A working installation of [WordPress](http://wordpress.org/) (used for user management only) * [gregorio](https://gna.org/projects/gregorio/) * [LuaLaTeX](http://www.tug.org/texlive/) -* [ImageMagick](http://www.imagemagick.org/) +* *([ImageMagick](http://www.imagemagick.org/) should not be necessary any more)* * [PDFCrop](http://pdfcrop.sourceforge.net/) * [GhostScript](http://www.ghostscript.com/) ### Install * Copy all GregoBase files into the WordPress directory * Make sure directories `temp`, `scores`, `scores/pdf`, `scores/png` and `scores/eps` are writeable by the server -* Set your database connection data in `include/db.php` +* Rename `include/db.php.sample` in `include/db.php` and edit it to set your database connection data * Import `gregobase_structure.sql` into your db * Add an item to your menu linking to`your_wordpress_install/scores.php` or access it directly @@ -19,5 +19,9 @@ If you want to have a local copy of http://gregobase.selapa.net * Import `grego_online.sql` into your db (of course the user data aren't in that file so you won't see who made the changes) +If you want to be able to personalize your scores + +* Install [gregoriophp](https://github.com/jperon/gregoriophp) + ### Limitations * There's no interface for sources edition yet so you need to add them directly into the database diff --git a/chant.php b/chant.php index fd6d602..6eaaafd 100644 --- a/chant.php +++ b/chant.php @@ -20,11 +20,11 @@