Skip to content

Create a Administration

Troy edited this page Aug 27, 2016 · 2 revisions

Welcome to the gray-matter wiki!

To create an administration user TODO create a script that does all this for me

  • Create a new user (In terminal)

    admin = User.new(email: 'admin2@email.com', password: 'password1', role: 'admin') admin.save! profile = Profile.new(user_id: admin.id) profile.save!

Clone this wiki locally