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