Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PoC
iapp
x Scone productionThis poc demonstrates how
iapp
can create and run Scone production app instead of Scone debug apps.This allows the builder to create production-ready apps without extra steps.
PoC usage
clone this branch and follow the instructions
git clone git@github.com:iExecBlockchainComputing/iapp.git cd iapp git checkout poc-scone-prod
Run the server locally
NB: the server is intended to run on a Linux host
cd api
prepare
.env
file👉 edit
.env
and fill in Scotain registry credentialsSCONTAIN_REGISTRY_USERNAME=...
andSCONTAIN_REGISTRY_PASSWORD=...
Install dependencies and run the server
The sconification server starts on port 3000 with an autogenerated signing key (if no one already exists)
Install the CLI
the CLI
iapp
is now installedthis version notabliy:
Creating and running Scone prod iapps
Ensure the server is running and use the installed CLI as any previous version of
iapp
iapp init
iapp test
iapp deploy
(uses local Scone prod API + prod SMS)iapp run <address>
(uses prod SMS + prod workerpool)Examples: