An Online Shopping website developed using Html, CSS, Bootstrap, MySQL, PHP.
I have updated a large number of files to use PDO instead of mysqli. I have also included docker configuration and build files
- All forms validated on Client side using HTML5 and on Server side using PHP.
- Responsive and wepages
This is a fork of the original project I used as a base. So I am assuming you have docker.
Simply adjust if you want the variables in variables.env file and the run the below command.
docker build -t mysql-storedb -f dockerfile_DB .
docker build -t php-lifestylestore -f dockerfile_php-apache .
docker compose up -dThen go to http://localhost:8080
Default login not available yet. Create a user and you will be good to go.
Requirements:
- A running cluster on the cloud or KIND, or Minikube for local development
- Working Kubeconfig
Run the following
kubectl apply -f k8s/deployment.yaml
kubectl apply -f k8s/db-cm.yaml
kubectl apply -f k8s/secret.yamlYour cluster will come up in short amount of time.
There is a helm chart included here for ease of use
cd life/
helm install <name> . -f values.ymlWait for about a minute for everything to come up.
https://srcco.de/posts/kubernetes-liveness-probes-are-dangerous.html https://www.civo.com/learn/practical-guide-to-the-kubernetes-probes
Sajal Agrawal & oldManLemon