Skip to content

[Feature] Docker image #3

Merged
titouanmathis merged 13 commits intodevelopfrom
feature/standalone-tool
Oct 27, 2023
Merged

[Feature] Docker image #3
titouanmathis merged 13 commits intodevelopfrom
feature/standalone-tool

Conversation

@titouanmathis
Copy link
Copy Markdown
Contributor

This PR adds a Docker image with advanced support for testing .htaccess files before deploying them:

# Create your .htaccess file with redirections to test
vim .htaccess

# Create a CSV fiels containing from,to URLS
vim redirects.csv

# Configure the temporary hosts referenced in your redirects, they will be configured in the Docker container
export DOMAINS='fqdn.com,www.fqdn.com'

# Run the Docker image by linking the current directy to /app
docker run -it --rm -v $PWD:/app -e DOMAINS studiometa/cli-test-redirection redirects.csv 

@titouanmathis titouanmathis merged commit 0e5bea6 into develop Oct 27, 2023
@titouanmathis titouanmathis deleted the feature/standalone-tool branch October 27, 2023 16:24
@titouanmathis titouanmathis mentioned this pull request Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant