-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Florian Scherf <[email protected]>
- Loading branch information
Showing
5 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
FROM nginx | ||
|
||
COPY src/html /usr/share/nginx/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
# Getting Started with Blank | ||
# Divio Mirrors Demo | ||
|
||
[![Deploy to Divio](https://docs.divio.com/deploy-to-divio.svg)](https://control.divio.com/app/new/?template_url=https://github.com/divio/getting-started-with-blank/archive/refs/heads/main.zip) | ||
|
||
Welcome to our QuickStart template – your portal to swift application development and seamless local testing. Whether you're delving into Web Development for the first time or optimizing your workflow, Divio has got you covered. | ||
|
||
## Cloud Setup | ||
|
||
Use the app creation wizard with a free [Divio Account](https://control.divio.com/) and choose **Blank** from the template selection. Alternatively, click the `Deploy to Divio` button above and follow the app creation wizard. Finally, deploy your app to the `test` or `live` environment. | ||
|
||
For in-depth details about Divio Cloud, refer to the [Divio documentation](https://docs.divio.com/introduction/). | ||
|
||
## Local Setup | ||
|
||
Install the [Divio CLI](https://github.com/divio/divio-cli) to set up your app locally. | ||
|
||
Alternatively, build this app locally using Docker: | ||
|
||
1. Ensure [Docker](https://docs.docker.com/get-docker/) is installed and running. | ||
2. Clone this repository locally. | ||
3. Build the app with `docker compose build`. | ||
4. Run the app using `docker compose up`. | ||
5. Open [http://localhost:8000]() to view your app. | ||
This project is used to showcase the mirrors feature of the Divio platform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ services: | |
volumes: | ||
- ".:/app:rw" | ||
- "./data:/data:rw" | ||
- "./src/html:/usr/share/nginx/html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Divio Mirrors Demo</title> | ||
<link rel="stylesheet" href="./style.css"> | ||
</head> | ||
<body> | ||
<main> | ||
<h1>Divio Mirrors Demo</h1> | ||
<p>v0.0</p> | ||
</main> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body { | ||
font-family: sans-serif; | ||
} |