-
Unzip folder
-
In root directory run
$ composer install
-
In root/frontend directory run (optional)
$ npm install
-
In root/docker-compose directory run (Before this install docker in your system refer this link for intallation on linux https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04 for windows refer this https://docs.docker.com/docker-for-windows/install/ )
$ docker-compose up --build -d
-
Import Database in mysql using following command :
$ docker exec -i dockercompose_mysql_1 mysql -u root -p admin --database admin < admin.sql
(admin.sql is at root folder)
Note : For mysql username and password refer docker-compose.yml file or common/config /database.php file
-
Now access the backend using following url :
http://localhost:4003/site/login
username :admin@test.com password :password
-
Now access the frontend using following url :
-
Notifications
You must be signed in to change notification settings - Fork 0
Yii2 angular 7 pwa projects structure with docker
License
EhitJ/yii2-angular-pwa-shooping-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Yii2 angular 7 pwa projects structure with docker
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published