Difference between #52 and #53 of
Yii v2 snippet guide III

Revision #53 has been created by rackycz on Mar 8, 2021, 11:06:37 PM with the memo:

Docker
« previous (#52) next (#54) »

Changes

Title unchanged

Yii v2 snippet guide III

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,yii2,beginer

Content changed

[...]
- Run command **init** to initialize the application
- You can also call **composer install** using one of following commands:
- docker-compose run --rm frontend composer install
- docker-compose run --rm backend composer install

Note: **init** and **composer** can be called locally, not necessarily via Docker. They only add files to your folder.
 
 
Now you will be able to open URLs:
- Frontend: http://localhost:20080
- Backend: http://localhost:21080
- ... see docker-compose.yml to understand these port numbers

Open common/config/main-local.php and set following DB connection:
[...]
8 0
4 followers
Viewed: 191 303 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Jan 21, 2021
Last updated: a year ago
Update Article

Revisions

View all history