Vollk
.js
Knex.js for seeding massive amount of fake data into multiple databases
This is a command line tool built forTable of topics
- Documentation
- How to install it?
- Basic configuration
- Run and see
- List of commands
- New versions of this tool
- Licence
- 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:
developmentDB_CLIENT:
mysqlDB_NAME:
vollkDB_HOST:
localhostDB_USER:
rootDB_PASS:
[none]
or...
MODE:
productionDB_CLIENT:
pgDB_URL:
[none]
Run and see the magic
vollk
list
List of commands
-
list
(Lists all options) -
seed
(Seeds the database with yours especs) -
create
(Creates a seed file) -
run
(Runs the last seed file) -
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