update readme
This commit is contained in:
12
README.md
12
README.md
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user