Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LOPS-2217] Add Ubuntu/WSL install instructions to README #2571

Open
wants to merge 4 commits into
base: 3.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,51 @@ brew install pantheon-systems/external/terminus

### Ubuntu / WinWSL+Ubuntu:

`*** TBD ***`

update system


`sudo apt update && apt upgrade -y`


install dependencies


`sudo apt install -y curl php8.1 php-xml git composer`


install wp-cli


`curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar`

optionally confirm wp-cli is working


`php wp-cli.phar --info`

install latest binary


`chmod +x wp-cli.phar`

`sudo mv wp-cli.phar /usr/local/bin/wp`

install latest Terminus phar file


`mkdir -p ~/terminus && cd ~/terminus`


`curl -L https://github.com/pantheon-systems/terminus/releases/latest --output terminus`


`chmod +x terminus`


`sudo ln -s ~/terminus/terminus /usr/local/bin/terminus`

Now you can generate your machine token to log in: [https://docs.pantheon.io/terminus/install#machine-token](https://docs.pantheon.io/terminus/install#machine-token)

### Other installation methods

Expand Down