Files
old-new-wiaas/README.md
2018-07-09 10:45:48 +02:00

34 lines
872 B
Markdown

# Place for wiaas based on woo commerce
#How to run
1) copy environment.env file and rename it to .env
2) 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)
3) 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)
user : wpUser
password : Test987!
wooCommerce API key :
consumer key : ck_1ee57854e327639d33ca072073499d4adaf9d8f4
consumer secret : cs_e51bf71b6ce05fe9a0d17d3e4f249c2b6ec8cbd5
(use bacic Auth, consumer key is user name, consumer secret is password)
mysql :
user : wp_admin
password : wp_password
database : wordpress