Commit graph

71 commits

Author SHA1 Message Date
Andrey Golovizin
f3201cd869 Add more words to the wordlist 2020-03-15 22:11:35 +01:00
Andrey Golovizin
aa395a0ff4 Remove another word with the ё letter 2020-03-15 22:00:37 +01:00
Andrey Golovizin
c3e0c197b7 Remove words with the ё letter from the wordlist 2020-03-15 21:58:44 +01:00
Andrey Golovizin
eafad276e6 Fix a truncated word in the wordlist 2020-03-15 21:54:37 +01:00
Andrey Golovizin
3b771e89d3 Exclude dotfiles from backups 2020-03-11 16:03:53 +01:00
Andrey Golovizin
4171e699b4 Add borgbackup support 2020-03-11 15:40:05 +01:00
Andrey Golovizin
2eddcca425 Harden the systemd service even more 2020-03-10 23:31:51 +01:00
Andrey Golovizin
43f9ae1311 Harden the systemd service 2020-03-10 22:51:21 +01:00
Andrey Golovizin
4d687b0d40 Print a message if DEBUG is enabled 2020-03-10 22:05:57 +01:00
Andrey Golovizin
2ffb5c2450 module.nix: do not pollute system packages 2020-03-10 22:04:40 +01:00
Andrey Golovizin
e85d151c2d Load .env from the current directory 2020-03-10 22:03:09 +01:00
Andrey Golovizin
5ad8f83ae8 Add missing dependencies to default.nix 2020-03-10 21:53:07 +01:00
Andrey Golovizin
0a67324428 Add pypi2nix to shell.nix 2020-03-10 21:45:02 +01:00
Andrey Golovizin
7736537df2 Add requirements-dev.txt 2020-03-10 21:15:20 +01:00
Andrey Golovizin
40aa227f30 Move requirements to setup.py, use pip-compile 2020-03-10 21:10:51 +01:00
Andrey Golovizin
b522b7470f Set DEBUG=True with dotenv 2020-03-10 20:56:25 +01:00
Andrey Golovizin
ef3cab912e Update the db path in .gitignore 2020-03-10 20:56:08 +01:00
Andrey Golovizin
a8c0602e7e Install pip in venv 2020-03-10 20:53:00 +01:00
Andrey Golovizin
41525d558b Remove unneeded STATICFILES_DIRS 2020-03-10 20:40:05 +01:00
Andrey Golovizin
d84d36a2fa Enable caching 2020-03-10 20:16:55 +01:00
Andrey Golovizin
fbcd3b2f7b Disable DEBUG 2020-03-10 20:09:10 +01:00
Andrey Golovizin
a5aa4fce34 Enable compression for static files and media 2020-03-10 19:56:13 +01:00
Andrey Golovizin
945ae8563b Serve (missing) favicon.ico with nginx 2020-03-10 18:06:47 +01:00
Andrey Golovizin
c2577dc1e1 Serve media with nginx 2020-03-10 17:28:04 +01:00
Andrey Golovizin
b6957198c1 Fix socket permissions 2020-03-10 16:51:16 +01:00
Andrey Golovizin
b9a2425d99 Remote the extra slash from the socket path 2020-03-10 16:42:20 +01:00
Andrey Golovizin
1429212c4a Move site hostnames into options 2020-03-10 16:41:59 +01:00
Andrey Golovizin
00decb5f92 Use systemd socket activation 2020-03-10 16:18:48 +01:00
Andrey Golovizin
ecb9d23d4c Include nginx config in the NixOS service
Static files are now served with nginx.
2020-03-10 15:50:15 +01:00
Andrey Golovizin
8ad1d1007e Respect STROJNADZOR_STATIC_ROOT env variable 2020-03-10 15:09:39 +01:00
Andrey Golovizin
709a329204 Make text slightly lighter 2020-03-09 21:04:09 +01:00
Andrey Golovizin
82f76d074e Add CSS for links 2020-03-09 21:03:48 +01:00
Andrey Golovizin
59f2add67f Switch from uvicorn to gunicorn 2020-03-09 20:32:08 +01:00
Andrey Golovizin
0787a6e10f Add Session.vim to .gitignore 2020-03-09 20:31:55 +01:00
Andrey Golovizin
2fcd163943 NixOS: properly create the state dir 2020-03-08 20:51:58 +01:00
Andrey Golovizin
284c713f5f Add NixOS module 2020-03-08 20:08:21 +01:00
Andrey Golovizin
32d8f78a09 Update souces 2020-03-08 20:07:52 +01:00
Andrey Golovizin
fca884f0ff Tweak CSS 2020-02-16 17:23:18 +01:00
Andrey Golovizin
a931b6db8a Edit and expant the word list 2020-02-16 16:45:33 +01:00
Andrey Golovizin
0929636f04 Customize captcha 2020-02-16 15:10:44 +01:00
Andrey Golovizin
719e99022a Remove filer debug options 2020-02-16 14:03:37 +01:00
Andrey Golovizin
9ddc4e5c9b Move to golovizin.ru and головизин.рф 2020-02-08 15:17:07 +01:00
Andrey Golovizin
e2a8936c6f Add STROJNADZOR_DATA_DIR environment variable 2020-02-08 14:25:52 +01:00
Andrey Golovizin
6b8e6cf480 fx management 2020-02-08 14:23:15 +01:00
Andrey Golovizin
8c6c5589ed Properly install templates and CSS styles 2020-02-08 14:16:17 +01:00
Andrey Golovizin
d8cdf6c140 Add runserver-uvicorn command 2020-02-08 14:11:59 +01:00
Andrey Golovizin
a9f51afeb7 Clean up requirements 2020-02-08 13:23:49 +01:00
Andrey Golovizin
5ed136073a Use nix-gitignore 2020-02-08 12:50:08 +01:00
Andrey Golovizin
ab237b7ceb Add default.nix 2020-02-08 12:36:46 +01:00
Andrey Golovizin
adbfe01b6b Ignore .egg-info 2020-02-08 12:30:59 +01:00