A personalized WavyCat website.
Designed for easy deployment on Cloudflare Pages.
To set up the project locally, follow these steps:
- Install Node.js: Download and install Node.js version 20/22, which includes npm.
- Install dependencies:
npm install
. - Create a
.dev.vars
file in the root directory. - Start the development server:
npm run dev
OWM_API_KEY=Token_from_OpenWeatherMap
CITY_NAME=Your_city
Replace Token_from_OpenWeatherMap
with your API key and Your_city
with
the desired city.
To deploy the project to Cloudflare Pages, follow these steps:
- Create a fork of the repository.
- In the Cloudflare dashboard, start creating a new project and select your forked repository.
- During the "Set up builds and deployments" stage, add the environment variables described in the
.dev.vars
file. - Click "Deploy" to deploy the project.