To run this project, you need to have Rust and Node.js installed.
To run environment, you need to have Podman installed.
# Create a network for the containers
podman network create dev_network
# Make sure the script is executable
chmod +x ./.nginx/wait-for
# Start the containers
podman-compose -f podman-compose.dev.yml up
# Stop the containers
podman-compose -f podman-compose.dev.yml down --volumes
# Create a network for the containers
podman network create prod_network
# Make sure the script is executable
chmod +x ./.nginx/wait-for
# Start the containers
podman-compose -f podman-compose.prod.yml up client
# Stop the containers
podman-compose -f podman-compose.prod.yml down --volumes
Then, start the production Nginx server:
podman-compose -f podman-compose.prod.yml up nginx