Warnet Event Guide for Participants
  • Welcome!
  • Housekeeping
  • What is Warnet?
  • Pre-event Setup
  • Start hacking!
  • Your first attack
  • Tips
Powered by GitBook
On this page
  • Install Warnet
  • Execute `warnet setup`
  • Test kubectl and Helm
  • Install k9s
  • Clone the Battle of Galen Erso repository (repo)

Pre-event Setup

Prepare your machine by installing the software required to participate in a remote Warnet battlefield

PreviousWhat is Warnet?NextStart hacking!

Last updated 1 month ago

Install Warnet

Follow these instructions to install Warnet. Only do the “Install Warnet” section. We’ll cover the other stuff later.

Execute `warnet setup`

Execute the warnet setup command and select the No Backend option. When it asks if you'd like to install Helm, say yes:

(.venv)$ warnet setup
                                                                    
                    ╭───────────────────────────╮                   
                    │  Welcome to Warnet Setup  │                   
                    ╰───────────────────────────╯                   
                                                                    
    Let's find out if your system has what it takes to run Warnet...

[?] Which platform would you like to use?: 
   Minikube
   Docker Desktop
 > No Backend (Interacting with remote cluster, see `warnet auth --help`)

Test kubectl and Helm

Install k9s

k9s is a very helpful tool for monitoring your armadas (more on that later). Follow this link to learn more and to install it:

Clone the Battle of Galen Erso repository (repo)

There is a Warnet repo called The Battle of Galen Erso with a bunch of starter code and templates. Use these instructions to clone it. Don't know how to use Git? You can also just download the repo.

After you've made a copy of the repo, go ahead and enter the directory for it. The remainder of this guide will reference a lot of code and documentation from here. As we go through it, you'll see a lot of references to a "scrimmage". A scrimmage is when you run your own warnet battlefield on your local machine. It's when you are both the admin and the player, and when there are no other participants. For the purposes of this event, it's safe to ignore any details that specific to a scrimmage.

Use these commands to make sure and were correctly installed:

kubectl
Helm
Logowarnet/docs/install.md at main · bitcoin-dev-project/warnetGitHub
Logowarnet/docs/install.md at main · bitcoin-dev-project/warnetGitHub
LogoGitHub - bitcoin-dev-project/battle-of-galen-erso: A multiplayer Warnet competitionGitHub
LogoGitHub - bitcoin-dev-project/battle-of-galen-erso: A multiplayer Warnet competitionGitHub