29 lines
469 B
Markdown
29 lines
469 B
Markdown
# PTUT Virtual Environment
|
|
|
|
|
|
## Requirements
|
|
|
|
You need a consistent Linux System with the following packages :
|
|
- `docker`
|
|
- `docker-compose`
|
|
|
|
|
|
You need to add a local dns record in `/etc/hosts`:
|
|
```text
|
|
127.0.0.1 ptut.com
|
|
```
|
|
|
|
## Commands
|
|
|
|
|
|
**Launch the environment**
|
|
```bash
|
|
docker-compose up -d
|
|
```
|
|
- the mounted files will match in the `./virtual` folder.
|
|
- the website will be accessible at 'ptut.com:8080'.
|
|
|
|
**Stop the environment**
|
|
```bash
|
|
docker-compose down
|
|
``` |