update readme

This commit is contained in:
GotPPay
2018-06-12 08:24:18 +02:00
parent bca309dc94
commit f3cc013344

View File

@@ -35,17 +35,7 @@ JavasScript (React + Redux)
- npm start in client-wiaas to start the applicaiton
##DOCKER
- Please note : using api-wiaas symlink is now not possible when using docker, so it has to be changed to real directory. This means on every change in source code, it has to be copied. This can be solved using file watchers. Also, if code in client-wiaas is changed, it has to be rebuilt and contents of client-wiaas/build directory needs to be copied over to public directory.
- Two files have to be changed : api-wiaas/config.php and client-wiaas/src/config.js, as follows :
config.php
DB_SERVER = db
WIAAS_URL = http://localhost:8000
config.js
set URLs to http://localhost:8000
## DOCKER
- install docker-ce and docker-compose
- from root of the project, execute `docker-compose build` and then `docker-compose up`