Since we’re stuck at home – lets bootstrap a Minecraft server to play with our friends
@app.before_first_request
You’ll need Terraform and a DigitalOcean API key
@app.route(“/start”)
Export your DO token, populate vars and Terraform up
@app.route(“/stop”)
After playing, fire up the wrapup
to retrieve generated world,
so that it can be (automatically) synced with new server in the future
Finally:
src: Imgflip