Compare commits

..

No commits in common. "53d157b6a973095427988afcabfc1298b6238062" and "2b245909591da46bbf2de92342a0820d01e1dda1" have entirely different histories.

4 changed files with 2 additions and 6 deletions

View File

@ -1,5 +1,5 @@
prod: # execute this target on the production server in the nix-shell
rm -fr franklincce/staticfiles
rm -r franklincce/staticfiles
cd franklincce; python3 manage.py collectstatic
sed "s/change_me/$(shell shuf -i1-1000000 -n1)/g" .env.prod.orig > .env.prod
sed "s|change_me|$(shell dd if=/dev/urandom bs=1024 count=1|base64)|g" .env.prod.orig > .env.prod

View File

@ -125,4 +125,4 @@ STATIC_ROOT = BASE_DIR / "staticfiles"
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
CSRF_TRUSTED_ORIGINS = ["http://localhost:1337", "https://franklincce.beepboop.systems"]
CSRF_TRUSTED_ORIGINS = ["http://localhost:1337"]

View File

@ -1 +0,0 @@
# todo

View File

@ -1,3 +0,0 @@
This directory contains the sources for the knowledge-base portion of the Franklin CCE Delegation's website.
It includes bill and resolution writing tips and guides.
For more information on contributing to the knowledge-base but you don't really know your way around git, see [here](./CONTRIBUTING.md)