This project utilizes Podman for local development and containerization. Podman is a daemonless container engine that allows you to run and manage containers without the need for a background daemon process. Follow the steps below to set up and run the project using Podman.
- Podman should be installed on your system.
-
Make the necessary changes to the project files according to your requirements.
-
Run the following command to build the Podman image:
podman machine start podman build -t website .
This command builds the Podman image based on the project files and tags it with the name "website". Adjust the tag name as needed.
-
Execute the following command to start the container:
podman run -p 4000:4000 website
This command runs the container based on the previously built image and maps port 4000 of the container to the same port on your host machine.
- Open your web browser and visit http://0.0.0.0:4000/ or http://localhost:4000/ to access the running application.
That's it! You can now make local changes to the project, build the Podman image, and run the container to test and view your changes.