git clone https://github.com/franzk/newsletter-subscription.git
- Create a reCAPTCHA v2 key. See: https://cloud.google.com/recaptcha/docs/create-key-website (Create checkbox reCAPTCHA keys)
- Rename the
front/.env.dist
file tofront/.env
- Copy the reCAPTCHA key into the
front/.env
file
cd docker
docker compose --profile dev up
Navigate to the front-end directory, install dependencies, and run the development server:
cd ../front
pnpm install
pnpm run dev
Open your browser and go to http://localhost:8080.
cd docker
docker compose --profile prod up