Open billzero opened 4 years ago
Why
We will create an Employee class so an employee can sign up on the app.
How
[x] rails generate devise:install
[x] Config devise : add config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } in the file config/environments/development.rb
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
config/environments/development.rb
[x] rails generate devise Masseur
[x] rails generate devise:views
[x] test Masseur.create in the console
Masseur.create
[x] create 20 masseurs in the seed.rb
Must have
[x] A Masseur model generated via Devise
[x] A view to sign up as masseur
[x] creation of 20 masseurs in the seed
Reading list
https://www.thehackingproject.org/dashboard/courses/1/weeks/6/days/2?locale=fr
https://github.com/heartcombo/devise
Why
We will create an Employee class so an employee can sign up on the app.
How
[x] rails generate devise:install
[x] Config devise : add
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
in the fileconfig/environments/development.rb
[x] rails generate devise Masseur
[x] rails generate devise:views
[x] test
Masseur.create
in the console[x] create 20 masseurs in the seed.rb
Must have
[x] A Masseur model generated via Devise
[x] A view to sign up as masseur
[x] creation of 20 masseurs in the seed
Reading list
https://www.thehackingproject.org/dashboard/courses/1/weeks/6/days/2?locale=fr
https://github.com/heartcombo/devise