@@ -6,68 +6,68 @@ This environment comes with "Makefile" and it allow to simplify using some funct
66In order to use command listed bellow just use next syntax in your local shell: ` make {command name} ` .
77Next commands available for this environment:
88``` bash
9- make build # Build dev environment
10- make build-test # Build test or continuous integration environment
11- make build-staging # Build staging environment
12- make build-prod # Build prod environment
9+ make build # Build dev environment
10+ make build-test # Build test or continuous integration environment
11+ make build-staging # Build staging environment
12+ make build-prod # Build prod environment
1313
14- make start # Start dev environment
15- make start-test # Start test or continuous integration environment
16- make start-staging # Start staging environment
17- make start-prod # Start prod environment
14+ make start # Start dev environment
15+ make start-test # Start test or continuous integration environment
16+ make start-staging # Start staging environment
17+ make start-prod # Start prod environment
1818
19- make stop # Stop dev environment
20- make stop-test # Stop test or continuous integration environment
21- make stop-staging # Stop staging environment
22- make stop-prod # Stop prod environment
19+ make stop # Stop dev environment
20+ make stop-test # Stop test or continuous integration environment
21+ make stop-staging # Stop staging environment
22+ make stop-prod # Stop prod environment
2323
24- make restart # Stop and start dev environment
25- make restart-test # Stop and start test or continuous integration environment
26- make restart-staging # Stop and start staging environment
27- make restart-prod # Stop and start prod environment
24+ make restart # Stop and start dev environment
25+ make restart-test # Stop and start test or continuous integration environment
26+ make restart-staging # Stop and start staging environment
27+ make restart-prod # Stop and start prod environment
2828
29- make env-dev # Create config for dev environment
30- make env-test-ci # Create config for test/ci environment
29+ make env-dev # Create config for dev environment
30+ make env-test-ci # Create config for test/ci environment
3131
32- make ssh # Enter laravel container shell
33- make ssh-nginx # Enter nginx container shell
34- make ssh-supervisord # Enter supervisord container shell (cron jobs running there, etc...)
35- make ssh-mysql # Enter mysql container shell
32+ make ssh # Enter laravel container shell
33+ make ssh-nginx # Enter nginx container shell
34+ make ssh-supervisord # Enter supervisord container shell (cron jobs running there, etc...)
35+ make ssh-mysql # Enter mysql container shell
3636
37- make exec # Exucute some command defined in cmd="..." variable inside laravel container shell
38- make exec-bash # Execute several commands defined in cmd="..." variable inside laravel container shell
37+ make exec # Exucute some command defined in cmd="..." variable inside laravel container shell
38+ make exec-bash # Execute several commands defined in cmd="..." variable inside laravel container shell
3939
40- make report-prepare # Create /reports/coverage folder, will be used for report after running tests
41- make report-clean # Delete all reports in /reports/ folder
40+ make report-prepare # Create /reports/coverage folder, will be used for report after running tests
41+ make report-clean # Delete all reports in /reports/ folder
4242
43- make wait-for-db # Checking MySQL database availability, currently using for CircleCI (see /.circleci folder)
43+ make wait-for-db # Checking MySQL database availability, currently using for CircleCI (see /.circleci folder)
4444
45- make composer-install-prod # Installing composer dependencies for prod environment (without dev tools)
46- make composer-install # Installing composer dependencies for dev environment
47- make composer-update # Update composer dependencies
45+ make composer-install-no-dev # Installing composer dependencies for prod/staging environment (without dev tools)
46+ make composer-install # Installing composer dependencies for dev environment
47+ make composer-update # Update composer dependencies
4848
49- make key-generate # Set the application key
49+ make key-generate # Set the application key
5050
51- make info # Display information about laravel version and php version
51+ make info # Display information about laravel version and php version
5252
53- make logs # Display logs for laravel container. Use ctrl+c in order to exit
54- make logs-nginx # Display logs for nginx container. Use ctrl+c in order to exit
55- make logs-supervisord # Display logs for supervisord container. Use ctrl+c in order to exit
56- make logs-mysql # Display logs for mysql container. Use ctrl+c in order to exit
53+ make logs # Display logs for laravel container. Use ctrl+c in order to exit
54+ make logs-nginx # Display logs for nginx container. Use ctrl+c in order to exit
55+ make logs-supervisord # Display logs for supervisord container. Use ctrl+c in order to exit
56+ make logs-mysql # Display logs for mysql container. Use ctrl+c in order to exit
5757
58- make drop-migrate # Drop databases (main and for tests) and run all migrations
59- make migrate # Run all migrations for databases (main and for tests)
60- make migrate-prod # Run all migrations for main database
58+ make drop-migrate # Drop databases (main and for tests) and run all migrations
59+ make migrate # Run all migrations for databases (main and for tests)
60+ make migrate-no-test # Run all migrations for main database
6161
62- make seed # Run all seeds for test database
62+ make seed # Run all seeds for test database
6363
64- make phpunit # Run all tests
65- make report-code-coverage # Update code coverage report on https://coveralls.io (COVERALLS_REPO_TOKEN should be set on CI side)
64+ make phpunit # Run all tests
65+ make report-code-coverage # Update code coverage report on https://coveralls.io (COVERALLS_REPO_TOKEN should be set on CI side)
6666
67- make phpcs # Run PHP CodeSniffer
68- make ecs # Run The Easiest Way to Use Any Coding Standard
69- make ecs-fix # Run The Easiest Way to Use Any Coding Standard to fix issues
70- phpmetrics # Generates PhpMetrics static analysis
67+ make phpcs # Run PHP CodeSniffer
68+ make ecs # Run The Easiest Way to Use Any Coding Standard
69+ make ecs-fix # Run The Easiest Way to Use Any Coding Standard to fix issues
70+ phpmetrics # Generates PhpMetrics static analysis
7171```
7272
7373## Laravel container shell
0 commit comments