Skip to content

Commit

Permalink
4.x to 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Apr 30, 2024
1 parent 938ea73 commit 5235c60
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stonehenge

![Stonehenge logo](https://github.com/druidfi/stonehenge/raw/4.x/logos/stonehenge_logo_wide.svg)
![Stonehenge logo](https://github.com/druidfi/stonehenge/raw/5.x/logos/stonehenge_logo_wide.svg)

Local development environment toolset on Docker supporting multiple projects.

Expand Down Expand Up @@ -36,18 +36,18 @@ domains for your projects as well as SSL certificates for those domains out of t

Note: in some systems setup will prompt once for your password as it will setup DNS.

If on Windows, check these [general install instructions](https://github.com/druidfi/stonehenge/blob/4.x/WSL2.md) if you don't have WSL2 yet.
If on Windows, check these [general install instructions](https://github.com/druidfi/stonehenge/blob/5.x/WSL2.md) if you don't have WSL2 yet.

### Oneliner

```console
sh -c "$(curl -fsSL https://raw.githubusercontent.com/druidfi/stonehenge/4.x/install.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/druidfi/stonehenge/5.x/install.sh)"
```

### Or manually with Git

```console
git clone -b 4.x https://github.com/druidfi/stonehenge.git ~/stonehenge
git clone -b 5.x https://github.com/druidfi/stonehenge.git ~/stonehenge
cd ~/stonehenge
make up
```
Expand Down Expand Up @@ -112,12 +112,12 @@ HTTPS_PORT=8443 HTTP_PORT=8080 SMTP_PORT=25 make up

## Examples

- [Drupal 10](https://github.com/druidfi/stonehenge/tree/4.x/examples/drupal)
- [Ghost 5](https://github.com/druidfi/stonehenge/tree/4.x/examples/ghost)
- [Hugo](https://github.com/druidfi/stonehenge/tree/4.x/examples/hugo)
- [Laravel 9](https://github.com/druidfi/stonehenge/tree/4.x/examples/laravel)
- [Symfony 6](https://github.com/druidfi/stonehenge/tree/4.x/examples/symfony)
- [Wordpress](https://github.com/druidfi/stonehenge/tree/4.x/examples/wordpress)
- [Drupal 10](https://github.com/druidfi/stonehenge/tree/5.x/examples/drupal)
- [Ghost 5](https://github.com/druidfi/stonehenge/tree/5.x/examples/ghost)
- [Hugo](https://github.com/druidfi/stonehenge/tree/5.x/examples/hugo)
- [Laravel 9](https://github.com/druidfi/stonehenge/tree/5.x/examples/laravel)
- [Symfony 6](https://github.com/druidfi/stonehenge/tree/5.x/examples/symfony)
- [Wordpress](https://github.com/druidfi/stonehenge/tree/5.x/examples/wordpress)

## Supported operating systems

Expand All @@ -127,7 +127,7 @@ HTTPS_PORT=8443 HTTP_PORT=8080 SMTP_PORT=25 make up
- macOS Big Sur 11 (Intel and M1)
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- [Windows 10/11 + WSL2](https://github.com/druidfi/stonehenge/blob/4.x/WSL2.md) (Debian or Ubuntu LTS)
- [Windows 10/11 + WSL2](https://github.com/druidfi/stonehenge/blob/5.x/WSL2.md) (Debian or Ubuntu LTS)
- [Fedora Asahi Remix 39](https://asahilinux.org/fedora/) (M1/M2/M3)

Also tested with at some point:
Expand Down Expand Up @@ -169,4 +169,4 @@ make debug

## License

The files in this archive are released under the MIT license. You can find a copy of this license in [LICENSE](https://github.com/druidfi/stonehenge/raw/4.x/LICENSE).
The files in this archive are released under the MIT license. You can find a copy of this license in [LICENSE](https://github.com/druidfi/stonehenge/raw/5.x/LICENSE).
4 changes: 2 additions & 2 deletions WSL2.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

```
wsl sh -c "sudo apt update && sudo apt upgrade && sudo apt install build-essential"
wsl git clone -b 4.x https://github.com/druidfi/stonehenge.git ~/stonehenge
wsl git clone -b 5.x https://github.com/druidfi/stonehenge.git ~/stonehenge
wsl make -s -C ~/stonehenge up
$WSL_NAME = $(wsl sh -c 'echo $WSL_DISTRO_NAME')
$WSL_USER = $(wsl whoami)
Expand All @@ -21,5 +21,5 @@ Import-Certificate -Filepath \\wsl$\$WSL_NAME\home\$WSL_USER\stonehenge\certs\ro
### Oneliner with PowerShell (beta):

```
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/druidfi/stonehenge/4.x/install.ps1'))
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/druidfi/stonehenge/5.x/install.ps1'))
```
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$REPO_FOLDER=~/stonehenge
$REPO_URL=https://github.com/druidfi/stonehenge.git
$REPO_BRANCH=4.x
$REPO_BRANCH=5.x
$WSL_NAME = $(wsl sh -c 'echo $WSL_DISTRO_NAME')
$WSL_USER = $(wsl whoami)

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ shopt -s xpg_echo

REPO_FOLDER=~/stonehenge
REPO_URL=https://github.com/druidfi/stonehenge.git
REPO_BRANCH=4.x
REPO_BRANCH=5.x

GREEN='\033[0;32m'
NC='\033[0m' # No Color
Expand Down
6 changes: 3 additions & 3 deletions make/stonehenge.mk
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ PHONY += upgrade
upgrade: down update ## Upgrade Stonehenge (tear down the current first)

PHONY += rollback
rollback: down ## Switch back to Stonehenge 3
$(call step,Change to Stonehenge v3...)
rollback: down ## Switch back to Stonehenge 4
$(call step,Change to Stonehenge v4...)
@echo "Pull the latest code..."
@git checkout 3.x && git pull
@git checkout 4.x && git pull
@$(MAKE) up

#
Expand Down

0 comments on commit 5235c60

Please sign in to comment.