Documentation website for Textwire templating language for Go (Golang) written with VitePress
To build an image, navigate to the root of the project and run this command.
With Podman:
podman-compose buildWith Docker:
docker compose buildRun this command to install npm packages and generate a node_modules directory on your local machine.
With Podman:
podman-compose run --rm app npm iWith Docker:
docker compose run --rm app npm iTo run a container, navigate to the root of the project and run this command.
With Podman:
podman-compose upWith Docker:
docker compose upYou can visit localhost:3000 to see your documentation.
To enter inside of the container, run this command.
With Podman:
podman-compose app shWith Docker:
docker compose app shYou'll be able to run NPM commands inside of the container.
After you are done working on a project, you can cleanup by removing running containers.
With Podman:
podman-compose downWith Docker:
docker compose downnpm inpm run devNavigate to localhost:5173 to see your documentation if you run this project locally. With container engines it's going to be localhost:3000.