Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| commands [2025/11/06 04:11] – agnes | commands [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 15: | Line 15: | ||
| insert tags: | insert tags: | ||
| - | insert into tags (name, canonical, created_at, updated_at, type, sortable_name) | + | insert into tags (name, canonical, created_at, updated_at, type, sortable_name) values(' |
| - | values(' | + | |
| add roles (for initial deployments if i ever decide to make a third site (unlikely)): | add roles (for initial deployments if i ever decide to make a third site (unlikely)): | ||
| - | insert into roles (id, name, authorizable_type, | + | insert into roles (id, name, authorizable_type, |
| - | values(" | + | |
| | | ||
| - | insert into roles (id, name, authorizable_type, | + | |
| - | values(" | + | |
| - | insert into roles (id, name, authorizable_type, | + | insert into roles (id, name, authorizable_type, |
| - | values(" | + | |
| - | insert into roles (id, name, authorizable_type, | + | insert into roles (id, name, authorizable_type, |
| - | values(" | + | |
| + | insert into roles (id, name, authorizable_type, | ||
| + | |||
| + | rails console | ||
| + | |||
| + | | ||
| - | insert into roles (id, name, authorizable_type, | + | docker compose run web bundle exec rails c |
| - | values(" | + | |
