GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DecentralizedAmateurPagingNetwork/Import: Node.js script to import users and their callsigns from a csv-file.

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
website
website
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
README.md
README.md
 
 
config.json
config.json
 
 
deport-user.js
deport-user.js
 
 
import-callsigns-db.js
import-callsigns-db.js
 
 
import-callsigns.js
import-callsigns.js
 
 
import-user-db.js
import-user-db.js
 
 
import-user.js
import-user.js
 
 
package.json
package.json
 
 

Repository files navigation

DAPNET Import

Node.js script to import users and their callsigns from a csv-file.

Commands

  • npm run import-user
    • Imports all users into DAPNET (if they don't exist)
  • npm run import-callsigns
    • Imports all callsigns into DAPNET (if they don't exist)
  • npm run import-user-db
    • Extracts all users into a SQLite database (as JSON-body for DAPNET-import)
  • npm run import-callsigns-db
    • Extracts all callsigns into a SQLite database (as JSON-body for DAPNET-import)
  • npm run deport-user
    • Removes all imported, but not edited, users from DAPNET

CSV source file

  • three columns
    1. Callsign
    2. Pagernumber
    3. Name
  • save as CSV-file
    • Field delimiter: ,
    • Text delimiter: "
    • UTF-8
  • example: "DB0BIG",101725.3,"Andreas"

Installation

Requirements

  • Node.js >= 4.6.0
  • npm >= 2.15.0

Download

git clone https://github.com/DecentralizedAmateurPagingNetwork/Import.git
cd Import

npm install

Configuration

Edit config.json and fill in the url to the API-server (eg. http://localhost:8080) and the authentication header of an admin-user (eg. Basic ABCDEFG1234567).

About

Node.js script to import users and their callsigns from a csv-file.

Topics

csvdapnetimport

Resources

Readme
Activity
Custom properties

Stars

5 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.