Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:11
Show Gist options
  • Save dacr/dbe3b0ba19427b3a80d869e7ccc8295e to your computer and use it in GitHub Desktop.
Save dacr/dbe3b0ba19427b3a80d869e7ccc8295e to your computer and use it in GitHub Desktop.
lorem-ipsum web service launcher script / published by https://github.com/dacr/code-examples-manager #306983c7-059a-4647-9536-c33479207d90/ab40c0e816ce1743b83182885941964617fad0e5
// summary : lorem-ipsum web service launcher script
// keywords : loremipsum, webservice, launcher
// publish : gist
// authors : David Crosson
// license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
// id : 306983c7-059a-4647-9536-c33479207d90
// created-on : 2021-03-03T12:51:43Z
// managed-by : https://github.com/dacr/code-examples-manager
// execution : scala ammonite script (http://ammonite.io/) - run as follow 'amm scriptname.sc'
import $ivy.`fr.janalyse::lorem-ipsum-server-akkahttp:1.0.12`
val service = loremipsum.server.akkahttp.Main.start()
service.waitSystemTerminate() // Just to avoid automatic exit in ammonite script mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment