This website is developed using Astro and Starlight.
On almost every project, getting your development environment established is the first task and it can take a day or two to do so. This is a high-level overview so that you can be productive quickly.
If you don't have one, we recommend installing an IDE that supports multiple languages (Python, Javascript, HTML/CSS, etc). The recommendations are VS Code or Sublime Text, but this is a developer choice.
The next step is to determine which development environment you would like to use. You can choose between a couple of options:
- Running in a Docker container.
- A direct Node.js install.
- Install Docker Desktop or another way to run a containerized environment.
- If on Windows, we recommend installing the Linux Subsystem to help performance, but it’s not required. See configuring Docker Desktop to use WSL 2.
- There are a series a
make
commands to help you run the commands in Docker. To use those, you'll need a way to runmake
.
- On Windows, use the Linux Subsystem or chocolatey.
- On Mac, install the Xcode client tools or use homebrew.
- If preferred, install some integration with the IDE you are using instead.
- For instance,
Makefile
support for VS Code
- For instance,
- Run
make serve
to launch the container, install the dependencies and run the development server.
- Install the LTS version of Node on your development machine.
- Run
npm install
from theastro
directory to install the JS dependencies. - Run
npm run dev
from theastro
directory to run the development server.