Skip to content

Commit

Permalink
-_-
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Aug 28, 2020
1 parent d58a37e commit 46e379e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/create_admin_and_community.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
password = ENV['COMMUNITY_ADMIN_PASSWORD'] || 'password'
email = ENV['COMMUNITY_ADMIN_EMAIL'] || 'codadict@noreply.com'

User.create(username: username, password: password, email: email, is_global_admin: true, is_global_moderator: true, staff: true)
User.create(username: username, password: password, email: email, is_global_admin: true, is_global_moderator: true,
staff: true)
# You'll need to manually set confirmation for this user
# $ docker exec qpixel_uwsgi_1 rails runner "User.second.update(confirmed_at: DateTime.now)"

0 comments on commit 46e379e

Please sign in to comment.