add docker

This commit is contained in:
sam
2022-05-14 17:20:04 +04:30
parent 23bb0bca0d
commit b9bde40edc
4 changed files with 54 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Character.create(name: 'Luke', movie: movies.first)
if Rails.env.development?
AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password')
unless AdminUser.find_by(email: 'bijan@example.com')
AdminUser.create!(email: 'bijan@example.com', password: '1234567890', password_confirmation: '1234567890')
end