Skip to content

Commit

Permalink
Add updated file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Verhoye committed Oct 17, 2023
1 parent 6e5a05b commit dc2fa72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ mkdir -p ~/Sites/magento
cd $_

# Run this automated one-liner from the directory you want to install your project.
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.6-p2 community
curl -s https://raw.githubusercontent.com/nverhoye/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.6-p2 community
```

The `magento.test` above defines the hostname to use, and the `2.4.6-p2` defines the Magento version to install. Note that since we need a write to `/etc/hosts` for DNS resolution, you will be prompted for your system password during setup.
Expand Down Expand Up @@ -199,7 +199,7 @@ mkdir -p ~/Sites/magento
cd $_

# Download the Docker Compose template:
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
curl -s https://raw.githubusercontent.com/nverhoye/docker-magento/master/lib/template | bash

# Take a backup of your existing database:
bin/mysqldump > ~/Sites/existing/magento.sql
Expand Down
2 changes: 1 addition & 1 deletion compose/bin/update
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o errexit
mkdir -p tmpupdate && cd "$_"
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
curl -s https://raw.githubusercontent.com/nverhoye/docker-magento/master/lib/template | bash
rm -rf .git
rsync -av --checksum ./ ../
cd ..
Expand Down
2 changes: 1 addition & 1 deletion lib/onelinesetup
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DOMAIN=${1:-magento.test}
VERSION=${2:-2.4.6-p2}
EDITION=${3:-community}

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
curl -s https://raw.githubusercontent.com/nverhoye/docker-magento/master/lib/template | bash

# &&'s are used below otherwise onelinesetup script fails/errors after bin/download
bin/download "${VERSION}" "${EDITION}" \
Expand Down

0 comments on commit dc2fa72

Please sign in to comment.