Skip to content

netvvrk/members-database

Repository files navigation

members-database

Ruby on Rails app for a database of artists and their artworks

HOW TO

Add a new user to the database

Connect to the Rails console using Heroku:

heroku run rails c -a <app-name>

Create a user:

Role can be admin or artist.

User.create!(
  email: "jane@gmail.com",
  role: "artist",
  password: "a password",
  password_confirmation: "a password"
)

### Sync existing users into the users table

`heroku run rake chargebee:sync -a <app-name>`

This will not create duplicate users. It checks to see if the Chargebee ID is already in the database.

About

Ruby on Rails app for a database of artists and their artworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •