The bootstrap of the project.
This repository contains the latest reproducible version of the Let's Stream It project.
The bootstrap repository allows you to deploy Let's Stream It microservices at once: session-service, auth-service, profile-service, frontend-service.
- Make sure you have a running and active version of Docker.
-
Clone the repository and change directory:
git clone git@github.com:LetsStreamIt/bootstrap.git && cd bootstrap
-
Create a
.envfile in the root directory of the project with the following variables:AKKA_LICENSE_KEY: License key used byprofile-service. It is possible to generate a new key at https://akka.io/key;JWT_SECRET: Secret used to create tokens insideauth-service. To generate a random secret, run the following command if you have NodeJs installed:Alternatively, either use another program to generate a random secret or choose one strong enough.node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"YOUTUBE_API_KEY: Youtube API key. Follow the steps listed at https://developers.google.com/youtube/v3/getting-started to generate it.
.envsyntax should be:AKKA_LICENSE_KEY=YOUR_LICENSE_KEY JWT_SECRET=YOUR_JWT_SECRET YOUTUBE_API_KEY=YOUR_YOUTUBE_API_KEY -
Deploy Let's Stream It:
docker compose up -d
The
frontend-servicewill be published on the port80of the host (as default), thus navigate to http://localhost to interact with the Web application. Alternatevely, if you want to run the service in another port, change it from the Docker compose file.
Bootstrap is licensed under the MIT License - see the LICENSE file for details.
- Luca Fabri (w-disaster)
- Simone Ceredi (sceredi)