Readme and makefile
This commit is contained in:
parent
0d74eaa1eb
commit
428d2e5cab
2
Makefile
2
Makefile
|
@ -5,4 +5,4 @@ all:
|
|||
$(COMPOSER) install
|
||||
|
||||
server:
|
||||
$(PHP) -S 127.0.0.1:8080 -t .
|
||||
$(PHP) -S 127.0.0.1:8080 index.php
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
A simple PHP HTTP proxy.
|
||||
|
||||
# Installation
|
||||
|
||||
```
|
||||
$ git clone https://gitnet.fr/deblan/poc-api-proxy.git
|
||||
$ export COMPOSER=/path/to/composer # default is "composer"
|
||||
$ make install
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
$ export PHP_PROXY_REMOTEHOST=https://example.tld
|
||||
$ export PHP=/path/to/php # default is "php"
|
||||
$ make server
|
||||
```
|
Loading…
Reference in New Issue