- docker
- docker-composer
git clone [email protected]:moe-lk/moe.git && cd moe
docker-compose build && docker-compose up
docker exec -it moe_hrm-web_1 npm install && docker exec -it moe_hrm-web_1 npm audit fix
docker exec -it moe_employee-service_1 composer install && docker exec -it moe_employee-service_1 composer dump-autoload -o
docker exec -it moe_employee-service_1 php ./vendor/bin/phinx migrate -e development
docker exec -it moe_employee-service_1 php ./vendor/bin/phinx rollback -e development
- docker exec -it moe_employee-service_1 php ./vendor/bin/phinx seed:run -e development
bash in to the container
docker exec -it e8af840a8593_e8af840a8593_e8af840a8593_e8af840a8593_moe_employee-db_1 /bin/sh
- mysql -uroot -p
- pw: my_secret_pw_shh
- use edu
- docker exec -it moe_employee-service_1 php ./vendor/bin/phinx create #name
- docker exec -it moe_employee-service_1 php ./vendor/bin/phinx seed:create AddPrefixData