Skip to content

Commit

Permalink
Remove explicit references to Altis
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamwhite committed Aug 20, 2020
1 parent b320bb9 commit c80edbc
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ assignees:

---

<!-- Please describe what issues you would like Altis to address. This should include enough detail to describe to someone who doesn't know the specifics of your project. -->
<!-- Please describe what issues you would like addressed. This should include enough detail to describe your request to someone who doesn't know the specifics of your project. -->

<!-- If you have any specific suggestions on ways that we could address this issue, please outline those: -->
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ If you wish to re-use this configuration, you'll need to use the `COMPOSE_PROJEC
VOLUME=/path/to/wordpress/project COMPOSE_PROJECT_NAME=some-project docker-compose up
```

We can now pass the `COMPOSE_PROJECT_NAME` environment variable when running `docker-compose up`, and it will use that value as the name of the domain. The above example will use `COMPOSE_PROJECT_NAME` for the name of the domain, or `default` if none is passed. For instance, if we pass `COMPOSE_PROJECT_NAME=foobar`, the domain Traefik uses is `foobar.altis.dev`.
We can now pass the `COMPOSE_PROJECT_NAME` environment variable when running `docker-compose up`, and it will use that value as the name of the domain. The above example will use `COMPOSE_PROJECT_NAME` for the name of the domain, or `default` if none is passed. For instance, if we pass `COMPOSE_PROJECT_NAME=foobar`, the domain Traefik uses is `foobar.local`.

2 changes: 1 addition & 1 deletion docker/conf/traefik.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ address = ":8080"
# Optional
# Default: ""
#
domain = "altis.dev"
domain = "vip.local"

# Expose containers by default in traefik
#
Expand Down
4 changes: 1 addition & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ x-php: &php
volumes:
- "${VOLUME}:/usr/src/app:delegated"
# Use zzz as a prefix to ensure the php.ini overrides are loaded last
- "${PWD}/php.ini:/usr/local/etc/php/conf.d/zzz-altis.ini"
- "${PWD}/php.ini:/usr/local/etc/php/conf.d/zzz-vip.ini"
- socket:/var/run/php-fpm
networks:
- proxy
Expand All @@ -47,8 +47,6 @@ x-php: &php
ELASTICSEARCH_PORT: 9200
AWS_XRAY_DAEMON_HOST: xray
PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
ALTIS_ANALYTICS_PINPOINT_ENDPOINT: https://pinpoint-${HTTP_HOST:-default}
ALTIS_ANALYTICS_COGNITO_ENDPOINT: https://cognito-${HTTP_HOST:-default}
# Setting required for minimal config in PHPStorm
PHP_IDE_CONFIG: serverName=${HTTP_HOST:-default}
# Enables XDebug for all processes and allows setting remote_host externally for Linux support
Expand Down
2 changes: 1 addition & 1 deletion docker/php.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Altis PHP INI settings.
# Custom PHP INI settings.

# Set sendmail to use mailhog.
sendmail_path = ${PHP_SENDMAIL_PATH}
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Once Docker is installed and running, you are ready to start the Local Server. L

## Starting the Local Server

To start the Local Server, run `composer server`. The first time you run this it will download all the necessary Docker images.
To start the local environment, run `composer server`. The first time you run this it will download all the necessary Docker images.

Once the initial download and install has completed, you should see the output:

Expand Down
4 changes: 2 additions & 2 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ composer server exec -- printenv

## WP CLI

Local Server provides special support for [WP CLI](https://wp-cli.org/) commands via the `composer server cli --` command. Prepend all your commends with `composer server cli --` and drop the proceeding `wp`. For example, to list all posts:
Local VIP provides special support for [WP CLI](https://wp-cli.org/) commands via the `composer server cli --` command. Prepend all your commends with `composer server cli --` and drop the proceeding `wp`. For example, to list all posts:

```sh
composer server cli -- post list
Expand All @@ -28,7 +28,7 @@ To install a new language file and activate it:
composer server cli -- language core install fr_FR
```

CLI commands via Local Server also support piping, for example import a database SQL file:
CLI commands via Local VIP also support piping, for example import a database SQL file:

```sh
composer server cli -- db import - < ~/Downloads/database.sql
Expand Down
4 changes: 1 addition & 3 deletions docs/elasticsearch.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# ElasticSearch

ElasticSearch is an integral component of Altis, enabling enhanced search and relevancy as well as powering the analytics data query layer.

## Kibana

Local Server provides [Kibana](https://www.elastic.co/products/kibana) out of the box, a powerful tool for viewing indexes, creating and debugging queries and more.
Local VIP provides [Kibana](https://www.elastic.co/products/kibana) out of the box, a powerful tool for viewing indexes, creating and debugging queries and more.

Kibana is available at [`/kibana/`](internal://site/kibana/).

Expand Down
2 changes: 1 addition & 1 deletion docs/email.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Email

Local server comes with [Mailhog](https://github.com/mailhog/Mailhog) pre-configured. This is an app that catches all outgoing email and provides a UI to view and debug those emails.
Local VIP comes with [Mailhog](https://github.com/mailhog/Mailhog) pre-configured. This is an app that catches all outgoing email and provides a UI to view and debug those emails.

The app is available at [`/mailhog/`](internal://site/mailhog/).
6 changes: 3 additions & 3 deletions docs/using-xdebug.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Using XDebug

Bugs are an inevitability of writing code and so Local Server provides an easy way to enable [XDebug](https://xdebug.org/) when you need it.
Bugs are an inevitability of writing code and so Local VIP provides an easy way to enable [XDebug](https://xdebug.org/) when you need it.

XDebug is _not enabled by default_ because it slows PHP down considerably. This could make you less productive depending on the work you're doing.

Expand Down Expand Up @@ -96,8 +96,8 @@ Local Server takes advantage of PHPStorm's [Zero Configuration Debugging](https:

1. Go to [Preferences > Languages & Frameworks > PHP > Servers](jetbrains://PhpStorm/settings?name=Languages+%26+Frameworks--PHP--Servers) (link opens in PHPStorm).
2. Click the plus icon and create a new Server entry with the following settings:
- The name should be your project host name: `<my-project>.altis.dev`
- The host name should also be: `<my-project>.altis.dev`
- The name should be your project host name, e.g. `my-project.local`
- The host name should be the same as the server name: `my-project.local`
- Port: `443`
- Check the "Use path mappings" box
- Next to your project's root directory enter `/usr/src/app`
Expand Down
4 changes: 2 additions & 2 deletions inc/composer/class-command-provider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Local Server Composer Command Provider.
* Local VIP Composer Command Provider.
*
* @package humanmade/local-vip
*/
Expand All @@ -10,7 +10,7 @@
use Composer\Plugin\Capability\CommandProvider as CommandProviderCapability;

/**
* Altis Local Server Composer Command Provider.
* Local VIP Composer Command Provider.
*
* @package humanmade/local-vip
*/
Expand Down
4 changes: 2 additions & 2 deletions inc/composer/class-command.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Local Server Composer Command.
* Local VIP Composer Command.
*
* phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
*
Expand All @@ -18,7 +18,7 @@
use Symfony\Component\Process\Process;

/**
* Local Server for VIP Composer Command.
* Local VIP Composer Command.
*
* @package humanmade/local-vip
*/
Expand Down
4 changes: 2 additions & 2 deletions inc/composer/class-plugin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Local Server Composer Plugin.
* Local VIP Composer Plugin.
*
* @package humanmade/local-vip
*/
Expand All @@ -14,7 +14,7 @@
use Composer\Plugin\PluginInterface;

/**
* Altis Local Server Composer Plugin.
* Local VIP Composer Plugin.
*
* @package humanmade/local-vip
*/
Expand Down

0 comments on commit c80edbc

Please sign in to comment.