You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
in the Readme.md it says "test your changes with a local checkout of the site.". However, you need to deploy the project to an apache server to test it correctly. My suggestion: Add a Dockerfile
e.g.:
FROM httpd:alpine
RUN sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf && \
sed -i 's#AllowOverride [Nn]one#AllowOverride All#' /usr/local/apache2/conf/httpd.conf
WORKDIR /usr/local/apache2/htdocs/
COPY . .
Thanks. It was on my todo list to add a dev Dockerfile. I had tried something similar long ago but never polished it up. I've always used a local apache server setup to test, but I know a Docker solution would be easier for most people. We'll add something like the above once #3264 is done so Docker files don't get mixed up with regular served files.
Hey,
in the
Readme.md
it says "test your changes with a local checkout of the site.". However, you need to deploy the project to an apache server to test it correctly. My suggestion: Add a Dockerfilee.g.:
... to this repo and a command...
to start a server on localhost.
This makes testing things ease. Or are there other ways to test this project?
Best,
Jo
The text was updated successfully, but these errors were encountered: