This guide explains how to set up and run the codeday/www-labs project locally.
# Clone the project from GitHub
git clone https://github.com/codeday/www-labs.git
# Move into the project directory
cd www-labswww-labs supports node 22.X - other versions may work but are not officially supported.
We recommend using nvm to manage your node version.
After installing nvm simply run nvm install from the www-labs directory to install and switch to the correct node version.
Tip
You only need to run nvm install the first time you set up the project. Subsequent times you start your environment you only need to run nvm use
# If yarn not installed
npm install -g yarn
# Install dependencies
yarn install- Create a .env file in the project root
- Get the API keys and other contents to copy into file from your manager.
# Unix/Linux/macOS/WSL
yarn dev
# Windows
yarn next devOnce the server starts, you should see something like this in your terminal:
Local: http://localhost:3000