pwerken / va-void
Vortex Adventures - Vortex Online Incharacter Database
dev-master
2021-09-29 15:36 UTC
Requires
- php: >=5.6
- admad/cakephp-jwt-auth: ^2.0
- cakephp/cakephp: 3.6.*
- cakephp/migrations: ^2.0.0
- cakephp/plugin-installer: ^1.0
- friendsofcake/crud: dev-master-pwerken
- josegonzalez/dotenv: 3.*
- loadsys/cakephp-creatormodifier: ~1.0
- mobiledetect/mobiledetectlib: 2.*
- setasign/fpdf: ^1.8
Requires (Dev)
- cakephp/bake: ^1.1
- cakephp/cakephp-codesniffer: ^3.0
- phpunit/phpunit: ^5.7|^6.0
- psy/psysh: @stable
Suggests
- dereuromark/cakephp-ide-helper: After baking your code, this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan compatibility.
- markstory/asset_compress: An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.
This package is not auto-updated.
Last update: 2023-05-27 12:14:23 UTC
README
VA - VOID
Vortex Adventues - Vortex Online Incharacter Database
Install
Download Composer or update composer self-update
.
- Clone the repository
- Run
composer install
If this didn't create theconfig/app.php
(or set folder permissions), then run this command again. - Run
./bin/cake admin checks
- Fix everything it reports as NOT ok (the red lines).
- This mostly consists of reading and editing
config/app.php
. - There you need to setup the
'Datasources'
and any other configuration relevant for your site. - The database tables can be created with Migrations
./bin/cake migrations migrate
- Configure apache to serve the
webroot
folder. - Browse to /admin/checks
- Again, fix everything it reports as NOT ok.
- Optionally: load some initial database content with
./bin/cake migrations seed
Update
./bin/cake backup export
- Make a backup of your data.
git pull
- Retrieves the latest code
composer update
- Installs/updates package dependencies.
- This is required if
composer.json
was modified, otherwise it is still recommended.
./bin/cake migrations migrate
- Updates the database table structure(s).
./bin/cake backup export
- Optionaly: create a backup before resuming regular usage/operations.
Database backups
Database backups can be listed, exported and imported using the CLI.
./bin/cake backup
lists all the database backups present../bin/cake backup export [description]
will created a new backup file../bin/cake backup import <file>
Import a backup (or any other) sql file.
This tool uses the commandline mysql and mysqldump commands internally.
The created backup files are stored in the backups/
folder.
Warning: old backups might not be compatible with newer tables structures. It is possible to use cake migrations
to revert to an earlier database structure. Don't forget to save your data / make a backup before doing this!