blob: 34376ff1d7bfa5629b985dc46662ab78aa1b8bb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Web Template
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
```
### Get the latest Updates from this template Project
```
git fetch template
git merge template/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
|