37c749a9d757636d06e5fce38bbe8a6ae5a988fd
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
publicfolder (in root of the project) and configure apache to serve this folder as root folder -
install composer
-run php composer install (or just composer install if composer is installed globally) in api-wiaas folder to get required libraries
- create symlink to for
api-wiaasinpublicdirectory
-for old interface run grunt in api-wiaas to generated stylesheets
APPLICATION CLIENT
JavasScript (React + Redux)
-
npm install in
client-wiaasto update required libraries -
npm run build
-
copy content of
buildfolder topublicdirectory -
npm start in client-wiaas to start the applicaiton
DOCKER
- install docker-ce and docker-compose
- Check env variables in php.dockerfile in root directory of project (for local testing, REACT_APP_DEV_URL should be set to http://localhost:8000/api-wiaas)
- from root of the project, execute
docker-compose buildand thendocker-compose up
Application is now available on http://localhost:8000
Description
Languages
PHP
45.9%
JavaScript
32.8%
Hack
8.5%
HTML
8.2%
Less
2.8%
Other
1.7%