Created
January 29, 2016 12:05
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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