summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md49
-rwxr-xr-xmain.py2
-rw-r--r--templates/index.html8
3 files changed, 7 insertions, 52 deletions
diff --git a/README.md b/README.md
index 57f8039..9d44d93 100644
--- a/README.md
+++ b/README.md
@@ -1,50 +1,5 @@
-# Web Template
+# picontrol
-A template project for dynamic web applications.
-
-
-## Usage
-
-### Just try it
-```
-# Install Flask and waitress with your linux package manager.
-# Otherwise you could use pip:
-pip3 install --user Flask waitress
-
-git clone https://github.com/xengineering/web-template.git
-cd web-template
-python3 main.py
-
-# switch to another terminal
-
-curl http://localhost:8080 # test with curl
-firefox http://localhost:8080 # test with firefox
-```
-
-### Use it for your Project
-```
-# start 'myproject' (rename it if you want to)
-git clone https://github.com/xengineering/web-template.git myproject
-cd myproject
-git remote rename origin template
-git branch template # create branch for the template
-git branch --set-upstream-to=template/master template
-git branch --unset-upstream master
-```
-
-### Add a Remote for your specific Project
-```
-git remote add origin <myproject-upstream-url>
-git branch -M master
-git push -u origin master
-```
-
-
-## Used Technologies
-
-- [Python 3](https://www.python.org/)
-- [Python Flask](https://palletsprojects.com/p/flask/)
-- [Waitress WSGI Server](https://github.com/Pylons/waitress)
-- Pure HTML, CSS and JavaScript
+A small Web Application to shutdown or reboot your Raspberry Pi.
diff --git a/main.py b/main.py
index 0cd7c61..88b4032 100755
--- a/main.py
+++ b/main.py
@@ -2,7 +2,7 @@
"""
- web-template - A Template Project for dynamic Web Applications.
+ picontrol - A small Web Application to shutdown or reboot your Raspberry Pi.
Copyright (C) 2020 xengineering
diff --git a/templates/index.html b/templates/index.html
index 67e2d78..8ccd1b2 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,5 +1,5 @@
<!--
- web-template - A Template Project for dynamic Web Applications.
+ picontrol - A small Web Application to shutdown or reboot your Raspberry Pi.
Copyright (C) 2020 xengineering
@@ -18,7 +18,7 @@
-->
<html>
<head>
- <title>Web Template</title>
+ <title>picontrol</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="static/css/style.css" type="text/css">
@@ -30,9 +30,9 @@
</div>
<div class="content-frame">
<div class="content">
- <header><h1>Web Template</h1></header>
+ <header><h1>picontrol</h1></header>
<p>
- Lorem ipsum.
+ Still in early alpha version ...
</p>
</div>
</div>