RepoQuest is an experimental tool for interactive programming tutorials. Each lesson takes place in a Github repository, and RepoQuest uses the Github interface for issues and pull requests to provide starter code and explain programming concepts.
Before starting, you will need Git and Rust installed on your computer. You will also need a Github account.
You need Rust installed. Then run:
cargo install repo-quest --locked
You need to generate a Github access token that allows RepoQuest to perform automatically Github actions (e.g., filing an issue). You have two options:
Install the gh
tool following these instructions: https://github.com/cli/cli#installation
Then login by running:
gh auth login
Try running gh auth token
. If that succeeds, then you're good.
Go to https://github.com/settings/tokens/new. Select the repo scope. Click "Generate Token" at the bottom. Copy the token into the file ~/.rqst-token
. On MacOS, you can run:
pbpaste > ~/.rqst-token
Note: these tokens will expire after a few months. You will have to refresh the token if you want to use RepoQuest after its expiration.
Finally, pick a directory where you want to create a new quest folder. In that directory, run this command:
repo-quest
Then follow the directions in the terminal.