Setting Up Your Dev Environment
This guide will walk you through how to get Namesake running locally on your machine.
Prerequisites
Section titled “Prerequisites”Before you get started, you will need:
- A GitHub account.
- A terminal (Terminal.app, Ghostty, Windows Terminal, etc.).
- A code editor such as VS Code or Zed.
- Node.js installed on your machine.
- pnpm installed on your machine.
You will need some basic familiarity with the command line, Git, HTML, CSS, and React.
Fork and clone the repository
Section titled “Fork and clone the repository”-
Fork the repository.
Click the “Fork” button on the top right of the
namesakerepository to create your own copy of the repository. -
Clone your fork.
Terminal window git clone https://github.com/MY_USERNAME/namesake.git
You should now have a namesake folder on your computer.
Start the development server
Section titled “Start the development server”-
From the
namesakedirectory, install packages.Terminal window pnpm installIf this is your first time installing packages, it may take awhile to download everything.
-
Start the development server.
Terminal window pnpm dev
You should now be able to see the Namesake website at http://localhost:4321! Changes will automatically refresh in your browser as you make edits to the code.
Leave this process running in the background while you work on the codebase. To stop the server, press Ctrl + C in the terminal.
Congrats! You are ready to develop on the Namesake codebase.