This commit is contained in:
Adrien Marquès 2018-06-09 12:25:30 +02:00
commit 4b293a3414
2 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,9 @@
# PTUT Virtual Environment # PTUT Virtual Environment
## Prerequisites
--- ---
## Fast Install ## Fast Install
@ -7,10 +11,13 @@ Launch the following command in your favorite terminal :
```bash ```bash
curl https://xdrm.io/script/ptut-install | bash - curl https://xdrm.io/script/ptut-install | bash -
``` ```
**TODO**
1. add permission management (for API download) inside Docker
2. add apache/nginx automatic proxy builder
--- ---
## Manual Install ## Manual Install
## Cloning ### Cloning
In order for the *web* submodule to load, you **must** clone with : In order for the *web* submodule to load, you **must** clone with :
@ -18,7 +25,7 @@ In order for the *web* submodule to load, you **must** clone with :
git clone --recursive https://git.xdrm.io/ptut/virtenv.git git clone --recursive https://git.xdrm.io/ptut/virtenv.git
``` ```
## Requirements ### Requirements
You need a consistent Linux System with the following packages : You need a consistent Linux System with the following packages :
- `docker` - `docker`
@ -31,6 +38,7 @@ You need to add a local dns record in `/etc/hosts`:
127.0.0.1 ptut.com 127.0.0.1 ptut.com
``` ```
## Commands ## Commands

View File

@ -14,8 +14,7 @@ services:
MYSQL_PASSWORD: 4JB1dtbrIC8pT935 MYSQL_PASSWORD: 4JB1dtbrIC8pT935
expose: expose:
- '3306' - '3306'
ports:
- 3307:3306
php-fpm: php-fpm:
build: build: