@everreal/automation-scripts
v1.1.3-e7b5b64
Published
Helper for predictable usage of sequelize transactions
Downloads
4
Readme
@everreal/automation-scripts
Install dependecies
- make sure you are in the project folder root
npm install -g yarn
yarn install
Install the library
Open Terminal (CMD + Space, search terminal) and type the following commands
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
nvm install 8.9.0
nvm use default 8.9.0
npm install -g @everreal/automation-scripts
Run the cli scripts
Use the following to switch the env
develop => in your machines qa => acme-qa.everreal-dev.co staging => acme-qa.everreal.co production => acme.everreal.co
# Create a listing in QA - make sure to put a valid "listingId"
everreal-generate-demo-data --listingId='27d955c3-7fc7-4821-b60d-01b7b2ad4ef6' --emailPattern='djerboua+{0}@gmail.com'
everreal-generate-multiple-applications --listingId='27d955c3-7fc7-4821-b60d-01b7b2ad4ef6' --count=300 --emailPattern='djerboua+{0}@gmail.com'
everreal-generate-multiple-candidates --listingId='a7b22242-53bd-461a-8144-dd53bd9e0b07' --count=300 --emailPattern='djerboua+{0}@gmail.com'
# Create a listing in develop
NODE_ENV=develop everreal-generate-demo-data --listingId='27d955c3-7fc7-4821-b60d-01b7b2ad4ef6' --emailPattern='djerboua+{0}@gmail.com'
# Create a listing in Production
NODE_ENV=production everreal-generate-demo-data --listingId='27d955c3-7fc7-4821-b60d-01b7b2ad4ef6' --emailPattern='djerboua+{0}@gmail.com'
# Send email of a specific type to multiple email IDs
everreal-send-email --email-enum=CANDIDATE_AUTOMATIC_INVITATION_FOR_STEP1 --emails='[email protected], [email protected]'