Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleInititalize docker
# download the helper script
local> curl -o docker-composeinfrastructure.ymlsh https://dev.flarecast.eu/stash/projects/INFRA/repos/dev-infra/browse/docker-composeinfrastructure.ymlsh?raw
local> chmod a+x infrastructure.sh

# ifsetup youinfrastructure wantor update to runmost smartrecent onversion
your computer
local> docker-compose pull
...

# make sure that the database is running
local> docker-compose up -d db_service
...

# wait a few seconds before the next step in order to let the database start

# start up the docker environment
local> docker-compose up
local> ./infrastructure.sh update

# run development infrastructure
local> ./infrastructure.sh run

# when you want to stop the development infrastructure, press <CTRL> + C

# cleanup everythin, this may be necessary in case of errors or old and incompatible containers
# this will also remove all the data you sent to the hmi/property services
local> ./infrastructure.sh clean

# in case you need already generated data, add a flag "keep_db"
local> ./infrastructure.sh clean keep_db

All FLARECAST docker containers can be found at DockerHub

...

Info
titleOn OS X

After starting docker-compose infrastructure.sh switch to "Kitematic"

Select Container "devinfrastest_webapp_1"

On the right side panel click on the arrow icon next to "Web Preview"

Kitematic Console

...