╭ changed ╮ │README.md│ ╰─────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────╮ │15 │ │16 ## Why another git forge? │ │17 │ │18 -Haxy is based around [two design ideas](https://www.youtube.com/watch?v=9YjWGXi5tDw):│ │18 +Haxy is based around two design ideas: │ │19 │ │20 ### 1. Store project metadata (issues, pull requests, and discussions) in the repo │ │21 │ ╰─────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │55 zig build try │ │56 ``` │ │57 │ │58 -This will launch a server with fake data that it stores in the `temp-try` directory. It will then launch the TUI directly in your terminal (you can exit by pressing escape). │ │58 +This will launch a server with fake data that it stores in the `temp-try` directory. It will then launch the TUI directly in your terminal (you can exit by pressing escape). Additionally, you can view the web UI at http://localhost:8000.│ │59 │ │60 -Additionally, you can view the web UI at http://localhost:8000 and push a git repo over SSH like this: │ │60 +A fun test is to push Haxy itself to the server. You can do that by running the following command, which will push it to the server using SSH: │ │61 │ │62 ``` │ │63 -mkdir -p temp-try/client/test │ │64 -cd temp-try/client/test │ │65 -git init │ │66 -echo "hello" > hello.txt │ │67 -git add hello.txt │ │68 -git commit -m "let there be light" │ │69 -GIT_SSH_COMMAND='ssh -p 8022 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i ../../key' git push localhost:admin/test HEAD:master │ │63 +GIT_SSH_COMMAND='ssh -p 8022 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i temp-try/key' git push localhost:admin/haxy HEAD:master │ │64 ``` │ │65 │ │72 -After that, the repo will be in `temp-try/server/repos` in a directory named by its repo id. │ │66 +After that, go to the admin user in the UI and you'll see Haxy's repo page: http://localhost:8000/repo/admin/haxy/files/branch/master │ │67 │ │68 *"C'mon Alex! You always dreamt about going on a big adventure! Let this be our first!" -- Lunar: Silver Star Story* │ │69 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯