Skip to content

Setting up the enquiry worktree

10x Resume candidates can use just ↗︎ commands as described below to create or delete a git worktree with customized content for an enquiry.

Choose the company, position and AppID

The first step in setting up an enquiry worktree is to identify the proper company, position and AppID to use.

Candidates can choose any company name and position they like keeping in mind the following restrictions:

  • the name of the directory for the worktree will include the company name so it should be a short string without any space characters.

  • the company name and position name will appear in the generated content so they should be capitalized appropriately.

Steps

  1. Make note of the name of company of the enquiry.
    e.g. Brilliant

  2. Make note of the title for the position of the enquiry.
    e.g. Product Engineer

  3. Make note of the Userbase AppID to use for the enquiry.
    e.g. ed070b06-62c8-4da8-a162-e42f756371a4

Setup the worktree for the enquiry

The 10x Resume .justfile provides a new command which prepares the enquiry worktree using the Scripts/new.sh bash script.

Steps

  1. To setup the worktree, run the following command from your git workspace
    (e.g. ~/10xresume/dev)

    Terminal window
    just new "Company" "Position" "AppID"

    using the values from the previous 3 steps for Company, Position and AppID.

    Example
    Terminal window
    just new "Brilliant" "Product Engineer" "ed070b06-62c8-4da8-a162-e42f756371a4"

    runs a script to create a new git worktree directory with a name based on the company name and a randomly generated prefix.

    Sample output
    % just new "Brilliant" "Product Engineer" "ed070b06-62c8-4da8-a162-e42f756371a4"
    ...
    next steps
    % cd ../34476472.Brilliant
    % just setup
    % just build
    - review / edit

Build the software in the worktree

Next, candidates build the 10x Resume software in the worktree.

Steps

  1. Change to the worktree by running the command shown in the new output.

    Terminal window
    cd worktree-directory-from-output # the git worktree for the enquiry
    Example

    If the new command said to cd ../34476472.Brilliant then the command to run would be

    Terminal window
    cd ../34476472.Brilliant
  2. Run the commands to install dependencies and build the software in the worktree

    Terminal window
    just setup
    just build

Removing a worktree

The 10x Resume .justfile provides a delete command which removes an enquiry worktree using the Scripts/delete.sh bash script. Candidates may use this to remove a worktree when they no longer want it.

Candidates may want to consider pushing a worktree to a separate backup repository or manually making a backup before running the delete command if they think they may need it later.

Steps

  1. To remove a worktree, run the following command the worktree directory
    (e.g. ~/10xresume/34476472.Brilliant)

    Terminal window
    just delete
    Sample output
    % just delete
    ./Scripts/delete.sh
    Deleted branch 34476472.Brilliant (was 47880ec).
    next steps
    % cd ../dev

    The command removes the current directory so it’s important to run the cd command suggested in the output to return to your git workspace