[DOC] test autodeployment on README + fix typo
This commit is contained in:
parent
db8da61c38
commit
eedf934ca5
|
@ -3,6 +3,11 @@ This is a microservice cutted out of a [Monolith](https://gitlab.com/matthiassto
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/genofire/hs_master-kss-monolith.svg?branch=master)](https://travis-ci.org/genofire/hs_master-kss-monolith) [![CircleCI](https://circleci.com/gh/genofire/hs_master-kss-monolith/tree/master.svg?style=svg)](https://circleci.com/gh/genofire/hs_master-kss-monolith/tree/master) [![Coverage Status](https://coveralls.io/repos/github/genofire/hs_master-kss-monolith/badge.svg?branch=master)](https://coveralls.io/github/genofire/hs_master-kss-monolith?branch=master) [![GoDoc](https://godoc.org/github.com/genofire/hs_master-kss-monolith?status.svg)](https://godoc.org/github.com/genofire/hs_master-kss-monolith)
|
[![Build Status](https://travis-ci.org/genofire/hs_master-kss-monolith.svg?branch=master)](https://travis-ci.org/genofire/hs_master-kss-monolith) [![CircleCI](https://circleci.com/gh/genofire/hs_master-kss-monolith/tree/master.svg?style=svg)](https://circleci.com/gh/genofire/hs_master-kss-monolith/tree/master) [![Coverage Status](https://coveralls.io/repos/github/genofire/hs_master-kss-monolith/badge.svg?branch=master)](https://coveralls.io/github/genofire/hs_master-kss-monolith?branch=master) [![GoDoc](https://godoc.org/github.com/genofire/hs_master-kss-monolith?status.svg)](https://godoc.org/github.com/genofire/hs_master-kss-monolith)
|
||||||
|
|
||||||
|
## Test of autodeployment
|
||||||
|
|
||||||
|
* [Stock-Admin](https://stock.pub.warehost.de/)
|
||||||
|
* [Easy dummy Shop-Cart in browser-cache](https://stock.pub.warehost.de/dummy_cart/)
|
||||||
|
|
||||||
## Features of this stock mircoservice
|
## Features of this stock mircoservice
|
||||||
* The main functionality of the microservice is to store the goods with their storage location and a time stamp, when they where stored.
|
* The main functionality of the microservice is to store the goods with their storage location and a time stamp, when they where stored.
|
||||||
* Functionality of the admin frontend
|
* Functionality of the admin frontend
|
||||||
|
|
|
@ -8,8 +8,8 @@ RETVAL=$?
|
||||||
[ $RETVAL -ne 0 ] && exit 1
|
[ $RETVAL -ne 0 ] && exit 1
|
||||||
scp -q -P $port ~/.go_workspace/bin/stock $remote:~/bin/stock;
|
scp -q -P $port ~/.go_workspace/bin/stock $remote:~/bin/stock;
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
sed -ie 's/http:\/\/localhost:8080/https:\/\/stock.pub.warehost.de/g' webroot/static/js/main.js
|
# sed -ie 's/http:\/\/localhost:8080/https:\/\/stock.pub.warehost.de/g' webroot/static/js/main.js
|
||||||
[ $RETVAL -eq 0 ] && RETVAL=$?
|
# [ $RETVAL -eq 0 ] && RETVAL=$?
|
||||||
rsync -e "ssh -p $port" -a webroot/ $remote:~/lib/stock/www;
|
rsync -e "ssh -p $port" -a webroot/ $remote:~/lib/stock/www;
|
||||||
[ $RETVAL -eq 0 ] && RETVAL=$?
|
[ $RETVAL -eq 0 ] && RETVAL=$?
|
||||||
rsync -e "ssh -p $port" -a contrib/ $remote:~/lib/stock/contrib;
|
rsync -e "ssh -p $port" -a contrib/ $remote:~/lib/stock/contrib;
|
||||||
|
|
|
@ -70,8 +70,8 @@
|
||||||
<script>
|
<script>
|
||||||
var config = {
|
var config = {
|
||||||
'microservice_dependencies': {
|
'microservice_dependencies': {
|
||||||
'products': 'http://localhost:8080/api-test/product/',
|
'products': '/api-test/product/',
|
||||||
'productById': 'http://localhost:8080/api-test/product/%d/',
|
'productById': '/api-test/product/%d/',
|
||||||
'lockGoods': '/api/goods/locking',
|
'lockGoods': '/api/goods/locking',
|
||||||
'unlockGoods': '/api/goods/locking'
|
'unlockGoods': '/api/goods/locking'
|
||||||
}
|
}
|
|
@ -46,7 +46,7 @@ var config = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'microservice_dependencies': {
|
'microservice_dependencies': {
|
||||||
'products': 'http://localhost:8080/api-test/product/',
|
'products': '/api-test/product/',
|
||||||
'productById': 'http://localhost:8080/api-test/product/%d/'
|
'productById': '/api-test/product/%d/'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue