mage2click / docker-magento-mutagen Goto Github PK
View Code? Open in Web Editor NEWMage2click Docker-based development environment for Magento with mutagen.io sync for files on macOS
Home Page: https://mage2.click
License: MIT License
Mage2click Docker-based development environment for Magento with mutagen.io sync for files on macOS
Home Page: https://mage2.click
License: MIT License
bin/dbimport
includes a statement to strip DEFINER from SQL imports, perhaps only when said statement includes "*".
I've run across an example of a DEFINER in a DB dump that isn't covered by the above. This view definition might be related to M2 multi-source inventory:
CREATE ALGORITHM=UNDEFINED DEFINER=`magento`@`localhost` SQL SECURITY DEFINER VIEW `inventory_stock_1`
AS SELECT
distinct `legacy_stock_status`.`product_id` AS `product_id`,
`legacy_stock_status`.`website_id` AS `website_id`,
`legacy_stock_status`.`stock_id` AS `stock_id`,
`legacy_stock_status`.`qty` AS `quantity`,
`legacy_stock_status`.`stock_status` AS `is_salable`,
`product`.`sku` AS `sku`
FROM (`cataloginventory_stock_status` `legacy_stock_status` join `catalog_product_entity` `product` on((`legacy_stock_status`.`product_id` = `product`.`entity_id`)));
This statement modified from one originally posted by Max might be more robust to handle SQL like the above:
LC_ALL=C sed -E 's/DEFINER[ ]*=[ ]*`[^`]+`@`[^`]+`/DEFINER=CURRENT_USER/g' | docker-compose exec -T db \
mysql -u"${MYSQL_USER}" -p"${MYSQL_PASSWORD}" "${MYSQL_DATABASE}"
RabbitMQ requires the amqp php extension that is why we need to add it to our php-fpm images.
This issue was reported by @davidalger.
Error: Formulae found in multiple taps:
* havoc-io/mutagen/mutagen
* mutagen-io/mutagen/mutagen
Please use the fully-qualified name (e.g. havoc-io/mutagen/mutagen) to refer to the formula.
Hello
I am tried install my Magento 2.3.4 project. I use interactive method. I've got that error:
"Starting Magento installation:
File permissions check...
[Progress: 1 / 1017]
Required extensions check...
In Installer.php line 520:
Missing following extensions: 'sockets' "
Can I install this extension manually ?
Hello,
Do you have any plans to make it works for Windows?
Thank you.
bin/copytocontainer
and bin/copyfromcontainer
is not working as expected
Currently, it is copying the content of pub/media folder on host to the /var/www/html/media folder on container, but it should copy to /var/www/html/pub/media on container.
The same issue with bin/copyfromcontainer
in vice versa manner
Implement interactive setup process, to have more flexible configs for each specific environment
support parameters to speed up the selection of needed features
"Press any key to continue setup..." prompt is displayed and it doesn't allow to proceed unless Enter key is pressed.
It looks that simplest fix would be about changing "any key" to "enter", but it's also possible to adjust read
call to accept any key.
Use mariadb:10.3 instead of percona:5.7
We need to use Docker volume to store elasticsearch data. (see https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html)
I had noticed if the container was recreated you had to rebuild indexes since ES would start with on data. This keeps that from happening since the data is on a volume like it is for the mysql database.
Reported by @davidalger.
Find the best way to sync the vendor folder
possible approach - is something like new mutagen session for the vendor folder with --watch-mode-beta=no-watch
and adding 1 line to the bin/composer to trigger mutagen flush
requested by Paul Hachmang,
the idea of the fix is suggested by Mark Shust's
Add support for Magento 1 projects
Hello,
First of all, thank you for this repo/environment, it's great for newbie in Magento, like me :)
However I have two issues releated to installtion process. First issue is related to homepage. I have 404 Not Found. I have checked several times and looks that all files were copied, I created nginx.conf (from nginx.conf.sample) and I don't know what and where I should change to fix this problem. Second problem is an access to admin area. If I type bin/magento info:admin
the response is /
. I think it is related to first issue. Could someone tell me how to fix both issues? Thank you.
Find the best way to sync folders which are currently ignored in bin/mutagen-start
--ignore=/bin
--ignore=/generated
--ignore=/pub/media/catalog/product
--ignore=/pub/static
--ignore=/var
--ignore=node_modules \
vendor is handled in separate issue GH-1
Find the best way to get the latest changes from the master branch to the existing setups on dev's machine
example of a good approach is https://laradock.io/
by Damien Retzinger
app_1 | 2019/09/24 13:40:01 [info] 30#30: *13 SSL_do_handshake() failed (SSL: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:SSL alert number 46) while SSL handshaking, client: 172.22.0.1, server: 0.0.0.0:8443
app_1 | 2019/09/24 13:40:01 [info] 30#30: *14 SSL_do_handshake() failed (SSL: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:SSL alert number 46) while SSL handshaking, client: 172.22.0.1, server: 0.0.0.0:8443
app_1 | 2019/09/24 13:40:01 [error] 30#30: *15 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 172.22.0.1, server: , request: "GET / HTTP/1.1", host: "magento2.test"
app_1 | 172.22.0.1 - - [24/Sep/2019:13:40:01 +0000] "GET / HTTP/1.1" 404 556 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36" "-"
We need to create additional parameters for the one-line mode (and questions for interactive mode) to be able to specify the default admin url / user / password during the setup w/o editing any files
Discussed in PR #65
Magento 2.3.2 requires libsodium to install properly.
Need to have libsodium pre install in the PHP containers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.