hws47a/docker-magento-run

This package is abandoned and no longer maintained. No replacement package was suggested.

Docker to run installed magento 1.*

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 148

Language:Nginx

v0.12.0 2016-11-09 21:03 UTC

This package is not auto-updated.

Last update: 2020-01-24 16:46:02 UTC


README

Up magento without install php, nginx, mysql

1. Add to your project using composer:

composer require --dev hws47a/docker-magento-run=dev-master

2. Run using docker:

docker-compose -f vendor/hws47a/docker-magento-run/docker-compose.yml up -d

3. Create new db and import magento here (if needed)

docker exec -i dockermagentorun_mysql_1 mysql -uroot -ppw -h127.0.0.1 -e 'create database db'
docker exec -i dockermagentorun_mysql_1 mysql -uroot -ppw -h127.0.0.1 db < dump.sql

4. Change app/etc/local.xml in <connection> section to

                <host><![CDATA[mysql]]></host>
                <username><![CDATA[root]]></username>
                <password><![CDATA[pw]]></password>
                <dbname><![CDATA[db]]></dbname>

5. Open website by adding in browser 127.0.0.1, localhost or other added to /etc/hosts alias

Troubleshooting

1. Disable default apache on macosx

sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist