Skip to content

Instantly share code, notes, and snippets.

@tlcheah2
Last active May 2, 2021 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlcheah2/417467b6b65ff5b7ca57f8c44c48449f to your computer and use it in GitHub Desktop.
Save tlcheah2/417467b6b65ff5b7ca57f8c44c48449f to your computer and use it in GitHub Desktop.
Setting up file for sequelize dynamic configuration
# Creating a file named config.js
touch config/config.js
# Create a file named .sequelizerc in root directory
touch .sequelizerc
# Installing dotenv library
npm i -s dotenv # This step is optional if you do not use dotenv to load environment variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment