Creating a new user with a role

Creating a new user with a role

To create a new User, open a Web terminal and run the following commands:

# Creating an admin
bundle exec rake admin:create["admin","admin@example.com","changeme"]

# Information
# bundle exec rake user:create["name","email","password","role"]

# Creating a user
bundle exec rake user:create["user","user@example.com","changeme","User"]