-
-
Notifications
You must be signed in to change notification settings - Fork 4
Skeleton 5
With version 4.4.0 a skeleton is included to start creating your game customization. It is not necessary to modify any file of the core of the game and it comes with the necessary commands to be able to make your customization.
See Readme of local Skeleton for additional information.
- Download the latest file for the version to be installed from lotgd-check-requeriments.php to check your server
- See Readme of Core for additional information.
-
You need have installed
npm
,composer
andgulp
as global commands.Gulp globally, run command
npm install gulp-cli -g
Composer globally see https://getcomposer.org/download/
- Run command
composer create-project idmarinas/lotgd-skeleton MyCustomLoTGD
to create a skeleton of LoTGD CoreIt will create a MyCustomLoTGD directory with a new LoTGD Core application inside.
- Run command
npm install
for install all nodes packages.- Note: When Fomantic Ui asks you to install, select "Skip install" and then accept everything.
- Not is necesary install in proyect folder.
- Clone repository in your directory.
- Run command
composer install
for install all composer packages. - Run command
composer lotgd:skeleton:prepare
- This copy files to
_core_files/
folder for you. - Olso copy files needed for commands in your
MyCustomLoTGD
directory.
- This copy files to
- Run command
npm install
for install all nodes packages.- Note: When Fomantic Ui asks you to install, select "Skip install" and then accept everything.
- Not is necesary install in proyect dir.
- Now only need prepare all your customizations and modules
- Run command
npm run lotgd-dev
for build a version for development server, located indist/dev/
- Run command
npm run lotgd-prod
for build a version for production server, located indist/prod/
- Upload files of
dist/prod/
folder to your server. - If is a upgrade installation:
- Remove file
.env.local.php
because instalation generate other time, for updated.
- Remove file
- Run command
composer lotgd:prod:install
This run commands
-composer install --no-dev --no-interaction --no-plugins --no-scripts
-composer dump-env prod
-php bin/console cache:clear
- Change permits of this file
.env.local.php
to only read.This file store sensitive data.
⚠️ This step is ONLY if you are UPGRANDING from version 4.12.0 IDMarinas Edition.Not run this commands in a Clean install.
- Run command
doctrine:migrations:version doctrine:migrations:sync-metadata-storage
- Run command
doctrine:migrations:version --add DoctrineMigrations\Version20210201163318
- Mark this migration as installed, and avoid problems in future versions.
- Run command
- Run command in your server
php bin/console lotgd:install
This is the installer of LoTGD Game
- Installer detect version installed in server.
- Confirm if is correct or select version installed from list.
- Note: version 5.0.0 only can upgrade from 4.12.0 version - Wait for the process to finish.
- Enter in your server url. http://www.your.server
-
Composer and Package
- You can add new dependencies as your project needs them, but do NOT remove any of the default ones.
- Note: Please do not change the versions of the dependencies.