npm

Need private packages and team management tools?Check out npm Orgs. »

vollk

1.3.0 • Public • Published

Vollk.js

vollk Logo

This is a command line tool built for Knex.js for seeding massive amount of fake data into multiple databases

Table of topics

  1. Documentation
  2. How to install it?
  3. Basic configuration
  4. Run and see
  5. List of commands
  6. New versions of this tool
  7. Licence
  8. Further help

Documentation

This tool integrates the inquirer.js library for making more interactive the commands built in commander.js. Also this tool incorporates faker.js for generating massive amounts of fake data.

For now it only supports MySQL, and PostgreSQL connection in this npm package , but you always can try the development side in Github for using other database connections.

Installation

npm install -g vollk

Configuration

Before run it you need to create an .env file in your relative path. There are multiples ways to do that:

  • Copying the code from here
  • Running the command vollk env

Finally you need to fill this ENV variables with theirs respective values.

[note]: If there is not .env file in your relative path, then default values will be set:

  • MODE: development
    • DB_CLIENT: mysql
    • DB_NAME: vollk
    • DB_HOST: localhost
    • DB_USER: root
    • DB_PASS: [none]

or...

  • MODE: production
    • DB_CLIENT: pg
    • DB_URL: [none]

Run and see the magic

vollk list

List of commands

  1. list (Lists all options)

  2. seed (Seeds the database with yours especs)

  3. create (Creates a seed file)

  4. run (Runs the last seed file)

  5. env (Creates an empty .env file)

Some options for this commands

  • --version
  • --help

Changelog

Get update with all new versions here

Licence

Copyright (c) 2018 Rene Ricardo. Licensed under the MIT license.

Further help

Send me an email or a tweet if you have some doubt or just add an issue

install

npm i vollk

Downloadsweekly downloads

0

version

1.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability