Skip to content

dipaish/web-dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to get this docker services up and running?

  • Step1: Make sure that Docker Desktop is running
  • Step2: Download the Zipped file https://github.com/dipaish/web-dev-env/archive/refs/heads/main.zip
  • Step3: Unzip it anywhere in your PC. Make sure that you don't delete this folder.
  • Step4: Start your Visual Studio Code and open the folder that you have unzipped recently.
  • Step5: Start terminal in Visual studio code and run the following command: docker-compose up -d

After a while, all your services are ready.

  • Service 1: MySQL Database Service (6034) >> localhost:6034
  • Service 2: Apache PhP Environment (Port 81) >> localhost:81
  • Service 3: phpmyadmin (Port 82) >> localhost:82

Important Folders

  • src >> A folder where your php code is going to be located. A simple php code is there by default

php.ini

The folder contains php.ini. If you need to configure your php setup, you can make required changes to the file. After making changes, execute the following command by starting terminal in Visual studio code:

docker compose up -d --build

Recommended Extensions for VSC

  • PHP (All-in-One PHP support, DEVSENSE)
  • IntelliPHP - AI Autocomplete for PHP

Learn Docker Compose

About

Docker: Apache, MySQL, PhpMyadmin, Wordpress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published