- build with DSE-Static-Cookiecutter
-
run
./shellscripts/script.sh
-
run
ant
- create a public, new, and empty (without README, .gitignore, license) GitHub repo https://github.com/csae8092/pez-nachlass-static
- run
git init
in the root folder of your application pez-nachlass-static - execute the commands described under
…or push an existing repository from the command line
in your new created GitHub repo https://github.com/csae8092/pez-nachlass-static
cd html/
python -m http.server
- go to http://0.0.0.0:8000/
- go to https://https://github.com/csae8092/pez-nachlass-static/actions/workflows/build.yml
- click the
Run workflow
button
- To build the image run:
docker build -t pez-nachlass-static .
- To run the container:
docker run -p 80:80 --rm --name pez-nachlass-static pez-nachlass-static
- in case you want to password protect you server, create a
.htpasswd
file (e.g. https://htpasswdgenerator.de/) and modifiyDockerfile
to your needs; e.g. runhtpasswd -b -c .htpasswd admin mypassword
docker run -p 80:80 --rm --name pez-nachlass-static ghcr.io/csae8092/pez-nachlass-static:main