Download the PHP package idmarinas/lotgd-skeleton without Composer
On this page you can find all versions of the php package idmarinas/lotgd-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download idmarinas/lotgd-skeleton
More information about idmarinas/lotgd-skeleton
Files in idmarinas/lotgd-skeleton
Package lotgd-skeleton
Short Description A new version of The Legend of the Green Dragon, upgrade scripts and optimization, migrating to a Symfony Application
License CC-BY-NC-SA-2.0
Informations about the package lotgd-skeleton
About
This is the template for the IDMarinas Edition core. It contains what you need to create your customization and tools to build it. This skeleton does not include the core files, they are not necessary for the creation of your customization.
IDMarinas Edition
Skeleton version for IDMarinas Edition: *_7.1._**
First steps
-
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/
Create project
Method 1
- 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.
Method 2
- Clone repository in your directory.
- Run command
composer install
for install all composer packages. - Run command
composer lotgd:skeleton:project:create
- 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
php bin/console lotgd:regenerate:app_secret
this regenerate APP_SECRET of.env
file.- Only need run one time.
- Run command
php bin/console lotgd:regenerate:app_secret --iv
this regenerate APP_SECRET_IV of.env
file.- Only need run one time.
- 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.
Upgrade project from previous version (New in version 5.2.* of Skeleton)
- Before make any change, commit all changes in your project.
- With this can see all new changes can modify as you need.
For project of version 5.1.* and lower.
- Need download repository and copy files to your project directory.
- Revise all changes and make changes as you need.
- Run command
composer lotgd:skeleton:project:upgrade
and wait.
For project of version 5.2.* and higher.
- In your composer.json search the following packages:
"idmarinas/lotgd"
and"idmarinas/lotgd-skeleton"
Upgrade the version of these packages to the desired version, e.g.5.2.*
- Both packages must have the same major version and the same minor version, the patch version must always be an asterisk.
- Note:
X.Y.Z
:X
is a major version,Y
is a minor version,Z
is a patch version. - Note: with
*
in patch version this download los patches of packages this is only a fixed errors, not break your installation.
- Note:
- Run command
composer update
- Wait to finish.
- Run command
composer lotgd:skeleton:project:upgrade
and wait.
Prepare your custom LoTGD
- Configure .env file with your data.
- Can create multiple files for separate config for enviroment:
.env.prod
contain data for production environment..env.dev
contain data for development environment..env.test
contain data for test environment.
- Can read comments in
.env
for know how work.env
files.
- Can create multiple files for separate config for enviroment:
- Run command
php bin/console lotgd:regenerate:app_secret
this regenerate APP_SECRET of.env
file.- :warning: Only need first time install LoTGD. If you already have a project in production, changing it again may break your installation.
- Run command
php bin/console lotgd:regenerate:app_secret -iv
this regenerate APP_SECRET_IV of.env
file.- :warning: Only need first time install LoTGD. If you already have a project in production, changing it again will cause all previously encrypted data to become unencryptable.
- Now only need prepare all your customizations and modules
Prepare for deployment
- 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/
Tips
- 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.
Other
Read Wiki for more information.
All versions of lotgd-skeleton with dependencies
ext-bcmath Version *
ext-ctype Version *
ext-curl Version *
ext-exif Version *
ext-gd Version *
ext-iconv Version *
ext-intl Version *
ext-json Version *
ext-mbstring Version *
ext-pdo Version *
ext-pdo_mysql Version *
ext-session Version *
idmarinas/lotgd Version 7.1.*
symfony/flex Version ^1.18