Skip to content

Instantly share code, notes, and snippets.

@spalladino
Created January 29, 2016 12:05
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 spalladino/02c063a00aa993adb9a1 to your computer and use it in GitHub Desktop.
Save spalladino/02c063a00aa993adb9a1 to your computer and use it in GitHub Desktop.
Manually change the password for the main user in a local installation of Verboice
# Go to Verboice main folder
cd verboice
# Open console
bundle exec rails c production
# Retrieve the first user
u = User.first
# This line should print the user's email, check that it is the one you expect
u.email
# Set the new password to mypassword (better use something else, but make sure you quote it; you should not enter the quotes when logging in later)
u.password = 'mypassword'
# Save your changes, this line should return "true"
u.save
# Exit the console
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment