2025-01-09 11:59:23 +01:00
|
|
|
# Landingpage
|
2025-01-08 14:59:36 +01:00
|
|
|
|
2025-01-09 11:59:23 +01:00
|
|
|
## Access
|
2025-01-10 11:41:32 +01:00
|
|
|
### Locale
|
2025-01-08 14:59:36 +01:00
|
|
|
http://127.0.0.1:5000
|
|
|
|
|
2025-01-09 11:59:23 +01:00
|
|
|
|
|
|
|
## Administrate Docker
|
|
|
|
### Stop and Destroy
|
|
|
|
```bash
|
|
|
|
docker stop landingpage
|
|
|
|
docker rm landingpage
|
|
|
|
```
|
|
|
|
|
|
|
|
### Build
|
|
|
|
```bash
|
|
|
|
docker build -t application-landingpage .
|
|
|
|
```
|
|
|
|
|
|
|
|
### Run
|
|
|
|
|
2025-01-10 11:41:32 +01:00
|
|
|
#### Run Development Environment
|
2025-01-09 11:59:23 +01:00
|
|
|
```bash
|
2025-01-10 11:41:32 +01:00
|
|
|
docker run -d -p 5000:5000 --name landingpage -v $(pwd)/app/:/app -e FLASK_APP=app.py -e FLASK_ENV=development application-landingpage
|
2025-01-09 11:59:23 +01:00
|
|
|
```
|
|
|
|
|
2025-01-10 11:41:32 +01:00
|
|
|
#### Run Production Environment
|
2025-01-09 11:59:23 +01:00
|
|
|
```bash
|
|
|
|
docker run -d -p 5000:5000 --name landingpage application-landingpage
|
|
|
|
```
|
|
|
|
|
|
|
|
### Debug
|
|
|
|
```bash
|
|
|
|
docker logs -f landingpage
|
2025-01-10 11:41:32 +01:00
|
|
|
```
|
|
|
|
## Author
|
|
|
|
This software was created from [Kevin Veen-Birkenbach](https://www.veen.world/) with the help of [ChatGPT]()
|