Compare commits
2 Commits
4d5d3f50a1
...
fad0b668fa
Author | SHA1 | Date |
---|---|---|
stupidcomputer | fad0b668fa | |
stupidcomputer | 90e01d921f |
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
prod: # execute this target on the production server in the nix-shell
|
prod: # execute this target on the production server in the nix-shell
|
||||||
cd franklincce; python3 manage.py collectstatic
|
cd franklincce; yes yes | python3 manage.py collectstatic
|
||||||
sh gen_kb.sh
|
sh gen_kb.sh
|
||||||
sed "s|change_me|$(shell dd if=/dev/urandom bs=1024 count=1|base64)|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
|
||||||
docker-compose -f docker-compose.prod.yml up -d --build
|
docker-compose -f docker-compose.prod.yml up -d --build
|
||||||
|
|
|
@ -24,7 +24,7 @@ This is a component -- I'm only using this because:
|
||||||
·
|
·
|
||||||
|
|
||||||
{% if legislation.country %}
|
{% if legislation.country %}
|
||||||
<a href="/explorer/countries/{{ legislation.country.id }}"></a>
|
<a href="/explorer/countries/{{ legislation.country.id }}">{{ legislation.country }}</a>
|
||||||
|
|
||||||
·
|
·
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue