Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

dev-redcube/betterhm-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 14, 2024
490640e · Apr 14, 2024

History

43 Commits
Nov 12, 2023
Apr 14, 2024
Oct 31, 2023
Nov 12, 2023
Mar 25, 2024
Nov 6, 2023
Oct 31, 2023
Oct 31, 2023
Feb 14, 2024
Nov 27, 2023
Oct 31, 2023
Oct 31, 2023
Nov 7, 2023
Nov 7, 2023
Oct 31, 2023
Nov 27, 2023
Nov 24, 2023
Nov 12, 2023
Nov 7, 2023
Oct 31, 2023
Nov 12, 2023
Nov 12, 2023
Feb 14, 2024
Oct 31, 2023
Nov 3, 2023
Oct 31, 2023
Oct 31, 2023
Oct 31, 2023
Oct 31, 2023

Repository files navigation

Installation

Requirements

  • php 8
  • composer
  • docker
  • npm für frontent, wird entfernt

Setup

git clone https://github.com/dev-redcube/betterhm-backend
cd betterhm-backend
composer install
npm install
cp .env.example .env
php artisan key:generate
./vendor/bin/sail up

Run in production

  1. docker compose datei ziehen
wget https://raw.githubusercontent.com/dev-redcube/betterhm-backend/main/docker-compose.prod.yml -O docker-compose.yml
  1. .env Datei herunterladen und APP_KEY ausfüllen.
    APP_KEY wird verwendet, um z.B. cookies zu verschlüsseln und sieht ca. so aus: base64:y7LAuRnvZAgnFOrvbrwmPj2hqcR9iIrJ9A4VLMrf920=
wget https://raw.githubusercontent.com/dev-redcube/betterhm-backend/main/.env.prod.example -O .env

Dieser App-Key sollte sich später nicht mehr ändern

  1. Container starten
docker compose up -d