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

Add apt installation method. #2252

Open
wants to merge 2 commits into
base: 3.x
Choose a base branch
from
Open
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ brew install pantheon-systems/external/terminus

### Ubuntu / WinWSL+Ubuntu:

`*** TBD ***`
```
# Setup repository
curl -s https://packagecloud.io/install/repositories/pantheon/public/script.deb.sh | bash
# Install package
apt install -y terminus
```

### Other installation methods

Expand Down
3 changes: 2 additions & 1 deletion config/constants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ TERMINUS_COMMAND_SITE_OPTIONS_REGION: null
# Package Settings
TERMINUS_BREW_TAP: '*** TBD ***'
TERMINUS_BREW_PACKAGE: 'pantheon-systems/external/terminus'
TERMINUS_DEBIAN_PACKAGE_INSTALL: '*** TBD ***'
TERMINUS_DEBIAN_APT_REPO: 'pantheon/public'
TERMINUS_DEBIAN_PACKAGE_INSTALL: 'apt install -y terminus'

# Testing
TERMINUS_TEST_MODE: false
Expand Down
10 changes: 9 additions & 1 deletion templates/README.twig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,15 @@ brew install {{ brew_package }}

### Ubuntu / WinWSL+Ubuntu:

`{{ debian_package_install | raw }}`
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add cd /tmp \?

git clone https://github.com/pantheon-systems/terminus \
&& cd terminus \
&& git checkout 3.x \
&& composer install \
&& composer phar:build \
&& composer phar:install \
&& rm -Rf /tmp/terminus
```

### Other installation methods

Expand Down