DEPRECATED, USE README.MD
- - - - - -
Rahvaraamat
This document contains instructions for setting up a project
Requirements
php >= v7.2.0
Elastic Search. Version used in live environment
mysql Ver10.4.24-MariaDB
Installation and setup
-
Clone the project:
git clone git@bitbucket.org:singleton-group/uus-rahvaraamat.gitSwitch to staging branch
-
Initialize local config files
php initWhich environment do you want the application to be initialized in?
[0] Development [1] Production
- Type
0if you are using test environment and pressEnter.
Initialize the application under 'Development' environment? [yes|no]
- Type
yesand pressEnter.
- Type
-
Install packages specified in composer.json
composer install -
Configure configs
Configure a local database | elastic search
-
Merge data from database to elastic search
Import data according to defined mapping:
php yii elastic/importExecutes spool items pushing to elastica DB:
php yii elastic/spool