Below are excerpts from the private ZephyrNET planning repository created to work through deploy flows—initially, we created a captive-portal based authentication flow on an open network, then moved to a private-network based deploy flow.
These notes were done by @zrl, @zfogg, @rishiosaur and @msw.
- I connect to a network named "ZephyrNET" on my MacBook Air
- There is a popup, like what I see on airport WiFi networks, that says "Welcome to the ZephyrNET" and has a directory of all the different things on the ZephyrNET (kind of like the Hidden Wiki)
- I am able to access everything on the ZephyrNET without having to click "Approve" or "Accept" anywhere on the popup. It doesn't actually block access to the rest of the ZephyrNET, like other captive portals do.
- I connect to a network named "ZephyrNET"
- I SSH into the ZephyrNET using my user account
- I notice a directory called
zephyrnet
in my home directory - I
cd
intozephyrnet/
and see a bunch of folders with names likedeploy.zephyr
andmax-homepage.zephyr
- I create a new folder called
zrl.zephyr
- I create a file called
index.html
in the newzrl.zephyr
folder with the contents<h1>Hello!</h1>
- In my web browser, I go to https://zrl.zephyr and see "Hello!" in heading text
- Over SSH, I run
ls -al
in thezrl.zephyr
folder and see a folder called.git
, noticing that a git repo has been initialized - I run
git log
and see a commit was automatically made from my user account with the commit message "Direct edits within /opt/zephyrnet"
- I connect to a network named "ZephyrNET"
- On my local machine, I create a git repo and commit a static site with three files:
index.html
,styles.css
, andmain.js
- I run
git remote add origin zrl@mothership:treasure-hunt.zephyr
inside the git repo, and then rungit push --set-upstream origin master
. My push succeeds. - In my web browser, I go to https://treasure-hunt.zephyr and see my
index.html
served - I SSH into the ZephyrNET using my user account, run
ls zephyrnet/
, and notice a directory calledtreasure-hunt.zephyr
has been created - I run
ls zephyrnet/treasure-hunt.zephyr/
and see three files printed:index.html
,styles.css
, andmain.js