fsd
parent
20e2f1ccf5
commit
46e391b5a7
|
@ -284,10 +284,6 @@ def cached_chart(kind, site):
|
||||||
comments_chart.set_ylabel("Comments")
|
comments_chart.set_ylabel("Comments")
|
||||||
comments_chart.set_xlabel("Time (UTC)")
|
comments_chart.set_xlabel("Time (UTC)")
|
||||||
|
|
||||||
signup_chart.legend(loc='upper left', frameon=True)
|
|
||||||
posts_chart.legend(loc='upper left', frameon=True)
|
|
||||||
comments_chart.legend(loc='upper left', frameon=True)
|
|
||||||
|
|
||||||
file = f"/{SITE}_{kind}.png"
|
file = f"/{SITE}_{kind}.png"
|
||||||
|
|
||||||
plt.savefig(file)
|
plt.savefig(file)
|
||||||
|
|
|
@ -40,6 +40,8 @@
|
||||||
#chat-window {
|
#chat-window {
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column-reverse !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-mention {
|
.chat-mention {
|
||||||
|
@ -188,7 +190,7 @@
|
||||||
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
||||||
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
|
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
|
||||||
|
|
||||||
<script src="/chat.js?v=17"></script>
|
<script src="/chat.js?v=18"></script>
|
||||||
|
|
||||||
{% include "emoji_modal.html" %}
|
{% include "emoji_modal.html" %}
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
|
@ -3,7 +3,7 @@ cp ./env /env
|
||||||
. /env
|
. /env
|
||||||
apt update
|
apt update
|
||||||
apt -y upgrade
|
apt -y upgrade
|
||||||
apt -y install git postgresql postgresql-contrib redis-server python3-pip libenchant1c2a ffmpeg tmux nginx
|
apt -y install git postgresql postgresql-contrib redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd
|
||||||
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
||||||
service postgresql restart
|
service postgresql restart
|
||||||
psql -U postgres -f schema.sql postgres
|
psql -U postgres -f schema.sql postgres
|
||||||
|
|
Loading…
Reference in New Issue