This repository contains the source code for the BAUnits.com website. The website is built using Next.js, a React framework for building static and server-rendered websites.
First, install the dependencies:
npm install
Then, run the development server:
npm run dev
Open https://localhost:3000 with your browser to see the result.
To update the units, run the following command:
python3 dev/unit-dl.py
This will download the latest units from the Battle Aces website and save them
to src/data/units.json
.
The GitHub repository is set up to run this script daily using GitHub Actions.