πŸ“š Alvik lessons

Lesson 9 of 9 Β· about 30 minutes

πŸ› οΈ Make it yours

Get your own copy of the whole project, with your own website and update page.

🧰 You need

▢️ Your own copy, with its own website

  1. Fork github.com/gabeduke/alvik.
  2. In your copy: Settings β†’ Pages, set Source to GitHub Actions.
  3. In the Actions tab, allow workflows.
  4. Edit docs/index.html: change <span id="title"> Alvik</span> to your robot's name. Commit.
  5. After a minute, open https://YOUR-NAME.github.io/alvik/.

Each commit runs the tests, then puts the site online. If a test fails, nothing goes online: read the message, it names what else must change.

πŸ’» Work on it on your own computer

git clone https://github.com/YOUR-NAME/alvik
cd alvik
scripts/build_site.sh && python3 -m http.server -d _site 8000    # then open http://localhost:8000

node --test tests/*.test.mjs       # the page's side
python3 tests/test_robot.py        # the robot's side, on a pretend Alvik

πŸ—ΊοΈ Where things are

FolderWhat is in it
src/Robot code: demo.py (menu), remote_control.py (remote, bumper).
sketches/The extras (lesson 8).
docs/The website: remote, 3D robot, pretend robot, these lessons.
models/The Blender script that builds the 3D robot.
tests/Tests for both sides.

πŸ§ͺ Things to change, easiest first

The 3D robot's top plate is by GiulioT (CC BY-NC-SA): keep the credit, don't sell it. See models/README.md.

πŸš€ Where next

Ideas and bug reports live in the GitHub issues. Built something? Say so there.