Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.95 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.95 KB

Callsign Checker

An app for checking the format of a callsign and finding the country it belongs to.

Downloading the country database

Data about countries can be downloaded from either Amateur Radio Country Files by AD1C or Clublog.

Obtaining the AD1C country database

Download any cty.dat file from the Country Files website. I recommend using the Big CTY file. Instead of cty.dat you can also use the cty.csv file.

Parsing of cty.dat or cty.csv can be done with the script cty-parser.ts.

Note: The cty.dat does not contain the adif DXCC number.

Obtaining the Clublog prefix database OBSOLETE

Read how to obtain the Clublog prefix file here

Parsing can be done with the script clublog-parser.ts.

Deploying the app

The app can be deployed using the following command:

yarn install
yarn build

Deploy the contents of the build directory to your server.

Updating the country database

  1. Download the latest Big CTY (cty.csv) file from Country Files.
  2. Move into the fast-dxcc directory.
  3. Run the script cty-parser.ts to parse the cty.csv file.
  4. Run npm version minor to update the version number.
  5. Run yarn build to build the code.
  6. Publish the new version to npm with npm publish.

Updating the callsign-checker app

  1. Move into the callsign-checker directory.
  2. Update the fast-dxcc dependency in package.json to the new version.
  3. Run yarn install to update the dependency.
  4. Run yarn build to build the code.
  5. Deploy the new version to your server.