[DO NOT MERGE] under siege mode #32

Merged
Snakes merged 11 commits from :under-siege-mode into master 2022-11-30 19:40:57 +00:00

dun dun duh duh!!!!

needs sql to be ran

UPDATE modactions SET kind = 'enable_bots' WHERE kind = 'enable_Bots';
UPDATE modactions SET kind = 'enable_fart_mode' WHERE kind = 'enable_Fart mode';
UPDATE modactions SET kind = 'enable_read_only_mode' WHERE kind = 'enable_Read-only mode';
UPDATE modactions SET kind = 'enable_signups' WHERE kind = 'enable_Signups';
UPDATE modactions SET kind = 'disable_bots' WHERE kind = 'disable_Bots';
UPDATE modactions SET kind = 'disable_fart_mode' WHERE kind = 'disable_Fart mode';
UPDATE modactions SET kind = 'disable_read_only mode' WHERE kind = 'disable_Read-only mode';
UPDATE modactions SET kind = 'disable_signups' WHERE kind = 'disable_Signups';

also create /var/log/rdrama/ dir or set the env var to something different
also also site settings is an env var now

also also also you'll need to rename all of the settings to use snek case

dun dun duh duh!!!! needs sql to be ran ```sql UPDATE modactions SET kind = 'enable_bots' WHERE kind = 'enable_Bots'; UPDATE modactions SET kind = 'enable_fart_mode' WHERE kind = 'enable_Fart mode'; UPDATE modactions SET kind = 'enable_read_only_mode' WHERE kind = 'enable_Read-only mode'; UPDATE modactions SET kind = 'enable_signups' WHERE kind = 'enable_Signups'; UPDATE modactions SET kind = 'disable_bots' WHERE kind = 'disable_Bots'; UPDATE modactions SET kind = 'disable_fart_mode' WHERE kind = 'disable_Fart mode'; UPDATE modactions SET kind = 'disable_read_only mode' WHERE kind = 'disable_Read-only mode'; UPDATE modactions SET kind = 'disable_signups' WHERE kind = 'disable_Signups'; ``` also create /var/log/rdrama/ dir or set the env var to something different also also site settings is an env var now also also also you'll need to rename all of the settings to use snek case
justcool393 added 10 commits 2022-11-30 19:30:39 +00:00
Snakes requested changes 2022-11-30 19:37:07 +00:00
Dockerfile Outdated
@ -28,1 +28,4 @@
RUN mkdir /asset_submissions/hats/original
RUN mkdir /var/log/rdrama
RUN chown rdrama:rdrama /var/log/rdrama

Docker runs as root / there is no rdrama user in Docker.

Docker runs as root / there is no rdrama user in Docker.
justcool393 marked this conversation as resolved
env Outdated
@ -35,3 +37,3 @@
export DEBIAN_FRONTEND="noninteractive"
export NODE_VERSION="16.13.0"
export NVM_DIR="/root/.nvm"
export NVM_DIRECTORYECTORY="/root/.nvm"

Accidentally an ECTORY.

Accidentally an ECTORY.
justcool393 marked this conversation as resolved
justcool393 added 1 commit 2022-11-30 19:39:15 +00:00
justcool393 requested review from Snakes 2022-11-30 19:39:39 +00:00
Snakes merged commit 5e47c70fdb into master 2022-11-30 19:40:57 +00:00
Sign in to join this conversation.
There is no content yet.