Skip to content

ionos-deploy-now/.htaccess-samples

Repository files navigation

Deploy Now

.htaccess-samples

This is a sample project to demonstrate the basic usage of .htaccess files. Use this project to get familiar with the capabilities of Apache HTTP Server modules and their directives. This project is written in pure HTML, CSS and JS to keep it simple and straightforward.

Setup local dev

Follow the instructions below to get this project up and running locally:

Prerequisites

  • Docker installed
  • Node installed - Use a package manager. - If you like to have one package manager to rule all your project runtimes with a single CLI take a look at asdf.

Run from project root

  • docker build -t my-apache2 .
  • docker run -dit --name my-running-app -p 8080:80 -v $PWD/dist:/usr/local/apache2/htdocs/ my-apache2
  • npm ci
  • npm run build
  • Go to: http://localhost:8080/
  • Re-run npm run build for any changes

Build with ♥️ by IONOS.