2018-06-14 16:49:28 +02:00
|
|
|
# Place for wiaas based on woo commerce
|
|
|
|
|
|
2018-06-20 12:22:52 +02:00
|
|
|
|
|
|
|
|
#How to run
|
|
|
|
|
|
|
|
|
|
edit .env file (it is sufficent to change API_URL to http://localhost:8081 if you are testing locally)
|
|
|
|
|
(on test server, this value is API_URL=http://next.wiaas.saburly.com/api)
|
|
|
|
|
|
|
|
|
|
execute in the root of the project :
|
|
|
|
|
|
|
|
|
|
sudo docker-compose build
|
|
|
|
|
sudo docker-compose up
|
|
|
|
|
|
|
|
|
|
now, frontend is running on http://localhost:8080 and backend on http://localhost:8081
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Credentials
|
|
|
|
|
|
|
|
|
|
wordpress credentials : (wp-admin)
|
2018-06-14 16:49:28 +02:00
|
|
|
user : wpUser
|
|
|
|
|
password : Test987!
|
|
|
|
|
|
|
|
|
|
wooCommerce API key :
|
|
|
|
|
consumer key : ck_1ee57854e327639d33ca072073499d4adaf9d8f4
|
|
|
|
|
consumer secret : cs_e51bf71b6ce05fe9a0d17d3e4f249c2b6ec8cbd5
|
|
|
|
|
|
|
|
|
|
mysql :
|
2018-06-18 11:11:02 +02:00
|
|
|
user : wp_admin
|
2018-06-14 16:49:28 +02:00
|
|
|
password : wp_password
|
|
|
|
|
database : wordpress
|