Steps:
-
Start PostgreSQL from docker
$ docker run -d --rm -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=syndesis postgres -
Start Syndesis backend (I run io.syndesis.runtime.Application from IDE), with JVM options:
-Dendpoints.test_support.enabled=true -Ddeployment.load-demo-data=false -Dencrypt.key=hello -
Start tinyproxy from a directory that has
tinyproxy.conf(below)$ tinyproxy -d -c tinyproxy.conf -
Modify the
$SYNDESIS/app/ui/src/config.json(sample config is in the repo) theapiEndpointneeds to point to tinyproxy (http://localhost:9090):"apiBase": "http://localhost:9090" -
Start the UI with from
$SYNDESIS/app/ui$ yarn start -
Open the browser to https://localhost:4200 use Chrome and Developer Tools
-
Place a
debugger;statement in a.tsfile as a first breakpoint to have somewhere to start debugging
On OSX I had to install tiny proxy using:
brew install tinyproxy --with-reverseMy src/config.json starts with
and I had to
npm rebuild node-sassand in app/ui/package.json turn off ssl so that the rest calls go through.
"start": "yarn ng serve --ssl false