Skip to content

Instantly share code, notes, and snippets.

@jaso514
jaso514 / getExtensions.php
Last active August 29, 2023 13:33
Get the list of extensions in Magento
<?php
// add the vendors added in the require segment in the composer.json
$vendors = [
'amasty',
'allure-framework',
'aitoc',
'ecommerce121',
'mageplaza',
'sinergi'
];
https://docs.docker.com/get-started/
Instalación:
https://docs.docker.com/toolbox/toolbox_install_windows/#step-2-install-docker-toolbox
Entrar a docker quickstart
Para listar los containers:
docker image ls --all
Para correr un container
@jaso514
jaso514 / Dockerfile
Last active June 14, 2023 19:30
Dockerfile to create container with mongodb and python
# Dockerizing Python and MongoDB
# Based on ubuntu:latest, installs MongoDB following the instructions from:
# http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
# INSTRUCTIONS:
# - Create the contianer:
# > docker build -t ubuntu_pymongo .
# - Create a folder to share your project in your host with the container. Ex: ~/shared
# - Run the next command (need the route of the created shared folder), this command access to the bash of container:
# > docker run -v /c/Users/Jhonny/Documents/vm_share/mongoDB/shared:/data/code -t -i -p 27019:27017 ubuntu_pymongo
# - To open another bash console run the command: