36 lines
802 B
Markdown
36 lines
802 B
Markdown
|
|
# RICOH WIAAS
|
||
|
|
|
||
|
|
### ENVIROMENT
|
||
|
|
|
||
|
|
- PHP 7.0
|
||
|
|
- MYSQL 5.7.22
|
||
|
|
- NODE 8.0
|
||
|
|
|
||
|
|
|
||
|
|
## APPLICATION API
|
||
|
|
|
||
|
|
- install wamp or LAMP depending on the envirorment (or any other service that provides php + mysql)
|
||
|
|
Make sure that "rewrite" is allowed and enabled in APACHE server
|
||
|
|
|
||
|
|
- create /public folder and configure apache to serve this folder as root folder
|
||
|
|
|
||
|
|
- install composer
|
||
|
|
|
||
|
|
-run `php composer install` in api-wiaas folder to get required libraries
|
||
|
|
|
||
|
|
- create symlink to for /api-wiaas in /public directory
|
||
|
|
|
||
|
|
-for old interface run `grunt` in api-wiaas to generated stylesheets
|
||
|
|
|
||
|
|
|
||
|
|
## APPLICATION CLIENT
|
||
|
|
JavasScript (React + Redux)
|
||
|
|
|
||
|
|
- npm install in client-wiaas to update required libraries
|
||
|
|
|
||
|
|
- npm run build
|
||
|
|
|
||
|
|
- copy content of build folder to /public directory
|
||
|
|
|
||
|
|
- npm start in client-wiaas to start the applicaiton
|