Use the below command to install sequelize-yugabytedb package in your project
npm install sequelize-yugabytedb
- Make sure you have a YugabyteDB cluster up and running on your machine.
Note: The tests are assuming thelocalhost
and5433
as default host and port for YugabyteDB cluster. - Go to YugabyteDB installation directory and create a database
test_sequelize
:$ ./bin/ysqlsh -c "CREATE DATABASE test_sequelize"
- Move back to
sequelize-yugabytedb
directory and install dependencies by running:$ npm install
- To run the test, simply do:
$ npm test
We will soon add a link to product documentation for using the package once uploaded in yugabyte docs.
If you encounter any bugs please file it in sequelize-yugabytedb project