# Laravel-deployment

## .htaccess

RewriteBase in .htaccess im Projket setzen. Wenn es fehlt kommt es zu einem Weiterleitungsfehler.

.htaccess

```
...
    RewriteEngine On
    RewriteBase /
...
```

## Domain erstellen

```
uberspace web domain add lifeos.serienguide.tv
```

Antwort:

```
The webserver's configuration has been adpated.
Now you can use the following records for your dns:
    A -> 185.26.156.55
    AAAA -> 2a00:d0c0:200:0:b9:1a:9c:37
```

## DNS

[www.namecheap.com](http://www.namecheap.com) -> DNS Einträge erstellen

* A
* AAA

## git clone

```
ssh serien
cd html
git clone https://github.com/danielsundermeier/lifeos.git
```

## Symlink

```
ln -s /var/www/virtual/$USER/html/lifeos/public /var/www/virtual/$USER/lifeos.serienguide.tv
```

## Deploy

deploy.sh Skript muss ausgeführt werden.

Jetzt ist die Webseite unter lifeos.serienguide.tv zu erreichen

## Skript

Skript zur Automatisierung schreiben


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.d15r.de/dev/web/webspace/uberspace-1/laravel-deployment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
