Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands [2025/11/06 04:12] agnescommands [2025/11/12 00:19] (current) agnes
Line 3: Line 3:
 recreate site for updates to show up recreate site for updates to show up
  
-  sudo docker compose up -d web --force-recreate --removeorphans+  sudo docker compose up -d web --force-recreate --remove-orphans
  
 reload elasticsearch: reload elasticsearch:
Line 20: Line 20:
  
   insert into roles (id, name, authorizable_type, authorizable_id, created_at, updated_at) values("int(16) auto_increment", "tag_wrangler", null, null, NOW(), NOW());   insert into roles (id, name, authorizable_type, authorizable_id, created_at, updated_at) values("int(16) auto_increment", "tag_wrangler", null, null, NOW(), NOW());
 +  
      
   insert into roles (id, name, authorizable_type, authorizable_id, created_at, updated_at) values("int(16) auto_increment", "translator", null, null, NOW(), NOW());   insert into roles (id, name, authorizable_type, authorizable_id, created_at, updated_at) values("int(16) auto_increment", "translator", null, null, NOW(), NOW());
Line 28: Line 29:
  
   insert into roles (id, name, authorizable_type, authorizable_id, created_at, updated_at) values("int(16) auto_increment", "opendoors", null, null, NOW(), NOW());   insert into roles (id, name, authorizable_type, authorizable_id, created_at, updated_at) values("int(16) auto_increment", "opendoors", null, null, NOW(), NOW());
 +  
 +rails console
 +
 +  
 +
 +    docker compose run web bundle exec rails c
 +