-
-
Save evrial/831bc5ec151ea06c4d16ed092dc015a3 to your computer and use it in GitHub Desktop.
Revisions
-
evrial revised this gist
May 3, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ 1. sudo docker pull rhamdeew/lamp 2. sudo docker run -v /your_empty_project_path/:/var/www/srv/ -p 80:80 -t -i rhamdeew/lamp /bin/bash 3. in container: cp -R /var/www/example/* /var/www/srv 4. in container: cd /var/www/srv/ 5. in container: ./start.sh 6. open http://localhost/1.php -
rhamdeew revised this gist
Aug 10, 2014 . 1 changed file with 8 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,10 @@ 1. sudo docker pull rhamdeew/lamp 2. sudo docker run -v /your_empty_project_path/:/var/www/srv/ -p 80:80 -t -i rhamdeew/lamp /bin/bash 3. in container: cp -R /var/www/example /var/www/srv 4. in container: cd /var/www/srv/ 5. in container: ./start.sh 6. open http://localhost/1.php Your project structure projectname/ @@ -6,6 +13,4 @@ projectname/ /db/db.sql ->database dump /db/db.txt ->database settings Example found in /var/www/example -
rhamdeew created this gist
Aug 10, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ Your project structure projectname/ /www -> php files /etc/php.ini -> custom php.ini /db/db.sql ->database dump /db/db.txt ->database settings Example found in /var/www/example Just cp -R /var/www/example /var/www/srv