staging env
Last updated
Last updated
Staging environmnent is re-started after every commit to devel branch.
The envionment starts with all the developed contracts deployed. It also starts with pre-defined stacks accounts topped up, as specified in .
Stacks blockchain node REST API:
Stacks explorer app:
Staging environment should be Linux machine with same as for devnet and clarinet.
In addition you need tmux, git and ssh installed.
Staging machine is expected to be able to poll creature-racer-stacks git repository.
There is a script called , which will check if there are any changes upstream and, if that's the case, will fetch the changes and restart the environment. The script can be run by hand or be executed periodically from cron.
Be sure to setup SSH key infrastructure, so that the local working account can poll github repository. For the automation to work, the private key should not be password-protected.
Clone the creature-racer-stacks repository and checkout the branch that you want the staging env to track (i.e. devel).
Launch ci/staging_deploy.sh
. This will bootsrap the environment in a detached tmux session.
ci/staging_deploy.sh
can be run periodically from cron to update and restart the environment in case of upstream changes.
To manually interact with the environment you can use tmux ls
to identify the staging environment session followed by tmux attach
to attach to this session.
The latest version available