Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
/ bootstrap Public archive

This repository allows to deploy Let's Stream It, by creating all services at once

License

Notifications You must be signed in to change notification settings

LetsStreamIt/bootstrap

Repository files navigation

Bootstrap

License: MIT Version

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.

Prerequisites

  • Make sure you have a running and active version of Docker.

Usage:

  1. Clone the repository and change directory:

    git clone git@github.com:LetsStreamIt/bootstrap.git && cd bootstrap
  2. Create a .env file in the root directory of the project with the following variables:

    1. AKKA_LICENSE_KEY: License key used by profile-service. It is possible to generate a new key at https://akka.io/key;
    2. JWT_SECRET: Secret used to create tokens inside auth-service. To generate a random secret, run the following command if you have NodeJs installed:
      node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
      Alternatively, either use another program to generate a random secret or choose one strong enough.
    3. YOUTUBE_API_KEY: Youtube API key. Follow the steps listed at https://developers.google.com/youtube/v3/getting-started to generate it.

    .env syntax should be:

    AKKA_LICENSE_KEY=YOUR_LICENSE_KEY
    JWT_SECRET=YOUR_JWT_SECRET
    YOUTUBE_API_KEY=YOUR_YOUTUBE_API_KEY
    
  3. Deploy Let's Stream It:

    docker compose up -d

    The frontend-service will be published on the port 80 of 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.

License

Bootstrap is licensed under the MIT License - see the LICENSE file for details.

Authors

About

This repository allows to deploy Let's Stream It, by creating all services at once

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •