Rename example domains to generic scheme
Use example.com instead of domain.de/game references to make the skeleton truly generic and not tied to any specific project.
This commit is contained in:
24
README.md
24
README.md
@@ -22,14 +22,14 @@ skeleton/
|
|||||||
│ ├── doku/
|
│ ├── doku/
|
||||||
│ └── planung/
|
│ └── planung/
|
||||||
├── www/ # Subdomains (ein Verzeichnis pro Domain)
|
├── www/ # Subdomains (ein Verzeichnis pro Domain)
|
||||||
│ ├── www.domain.de/ # www.domain.de
|
│ ├── www.example.com/ # www.example.com
|
||||||
│ │ └── public/ # Document Root
|
│ │ └── public/ # Document Root
|
||||||
│ │ └── index.php
|
│ │ └── index.php
|
||||||
│ ├── api.domain.de/ # api.domain.de
|
│ ├── api.example.com/ # api.example.com
|
||||||
│ │ └── public/ # Document Root
|
│ │ └── public/ # Document Root
|
||||||
│ │ └── index.php
|
│ │ └── index.php
|
||||||
│ └── game.domain.de/ # game.domain.de
|
│ └── app.example.com/ # app.example.com
|
||||||
│ └── public/ # Document Root
|
│ └── public/ # Document Root
|
||||||
│ └── index.php
|
│ └── index.php
|
||||||
└── README.md
|
└── README.md
|
||||||
```
|
```
|
||||||
@@ -44,9 +44,9 @@ git clone https://git.shadow-land.de/madgerm/skeleton.git mein-projekt
|
|||||||
cd mein-projekt
|
cd mein-projekt
|
||||||
|
|
||||||
# 2. Domain-Verzeichnisse umbenennen (falls andere Domains gewünscht)
|
# 2. Domain-Verzeichnisse umbenennen (falls andere Domains gewünscht)
|
||||||
mv www/www.domain.de www/meine-domain.de
|
mv www/www.example.com www/www.meine-domain.de
|
||||||
mv www/api.domain.de www/meine-api.domain.de
|
mv www/api.example.com www/api.meine-domain.de
|
||||||
mv www/game.domain.de www/mein-game.domain.de
|
mv www/app.example.com www/app.meine-domain.de
|
||||||
|
|
||||||
# 3. README und Repo-Name anpassen
|
# 3. README und Repo-Name anpassen
|
||||||
# 4. Git init / remote setzen
|
# 4. Git init / remote setzen
|
||||||
@@ -73,9 +73,9 @@ www.meine-domain.de {
|
|||||||
|
|
||||||
| Verzeichnis | Domain | Beschreibung |
|
| Verzeichnis | Domain | Beschreibung |
|
||||||
|-------------|--------|---------------|
|
|-------------|--------|---------------|
|
||||||
| `www/www.domain.de/` | www.domain.de | Hauptseite |
|
| `www/www.example.com/` | www.example.com | Hauptseite |
|
||||||
| `www/api.domain.de/` | api.domain.de | REST API |
|
| `www/api.example.com/` | api.example.com | REST API |
|
||||||
| `www/game.domain.de/` | game.domain.de | Spielkomponente |
|
| `www/app.example.com/` | app.example.com | Applikation |
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* api.domain.de — REST API
|
* api.example.com — REST API
|
||||||
*/
|
*/
|
||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
$method = $_SERVER['REQUEST_METHOD'];
|
$method = $_SERVER['REQUEST_METHOD'];
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* game.domain.de — Spielkomponente
|
* app.example.com — Applikation
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@@ -8,10 +8,10 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>game.domain.de</title>
|
<title>app.example.com</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Game</h1>
|
<h1>App</h1>
|
||||||
<p>Spielkomponente.</p>
|
<p>Applikation.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* www.domain.de — Hauptseite
|
* www.example.com — Hauptseite
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>www.domain.de</title>
|
<title>www.example.com</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Willkommen</h1>
|
<h1>Willkommen</h1>
|
||||||
Reference in New Issue
Block a user