Feel free to add your notes here.
-
use only "free licensed" components (classes, graphics etc)
-
as the system may not use in the future "PHP persistent connections", we have to connect to the database each time in the script.
Github accept some keyword in commit message. When applicable, please reference related issue using "#" character; example: "Fixes #45" to close issue #45. cf. autolinked-references-and-urls/, and closing-issues-using-keywords.
Each time you are pushing fresh commits on https://github.com/geokrety/geokrety-website, a new travis job is started onto travis-ci.org/geokrety. Travis checks are defined into .travis.yml
If you fork the project, then you will have to activate travis-ci builds for your own clone.
Emails templates are processed using Bootstrap Emails on sending through a special smtp gateway see bootstrap-email-smtp-server. Please refer to their documentation.
Please check dedicated section.
please cf. INSTALL.md
From time to time database schema will need to be updated. We use Phinx for this purpose and phinx-migrations-generator to generate database changes.
Please refer to each user guide before use.
To create a new migration file:
$ cd website
$ ../vendor/bin/phinx-migrations generate
Phinx by CakePHP - https://phinx.org.
using config file ./phinx.php
using config parser php
using migration paths
- /var/www/geokrety/website/db/migrations
using seed paths
- /var/www/geokrety/website/db/seeds
warning no environment specified, defaulting to: local
using database geokrety
using config file /var/www/geokrety/website/phinx.php
using migration path ./db/migrations/
using schema file ./db/migrations//schema.php
Database: geokrety
Load current database schema.
Comparing schema file to the database.
No database changes detected.
Alternatively, use make phinx-migrations-generate
.
$ make phinx-migrations-generate
Phinx by CakePHP - https://phinx.org.