LEdoian
516bc22adc
Add migration to make id on DreamComeTrue explicit
3 years ago
LEdoian
f593208760
Add the relevant directive in nginx config
...
It could save somebody's time, so I put it there.
3 years ago
LEdoian
0accb3a9f1
Add a few notes from the deployment
3 years ago
LEdoian
1d02f871dd
Fix missing "then"
3 years ago
LEdoian
9b2cfe6437
Use older command for getting current branch name
3 years ago
LEdoian
a87240853d
Remove another "local"
3 years ago
LEdoian
ab927c628a
Remove "local" directive from deploy script
...
While bash tolerates that, dash does not.
3 years ago
LEdoian
ab9e2cd9d1
Do not warn about unset AutoField key type
3 years ago
LEdoian
41a0f29959
Add psycopg2 to requirements
3 years ago
LEdoian
5963a6088d
Add a command to generate SECRET_KEY
3 years ago
LEdoian
1ffdb3c246
Add a security note to deploycfg
3 years ago
LEdoian
985e536dca
Add installing guide to the readme
3 years ago
LEdoian
08cb53db96
Add silencing of checks to example configuration
3 years ago
LEdoian
4fe6015ad6
Rename deploy config file and chenge its location
3 years ago
LEdoian
728cf65703
Extend the readme to include usual parts
3 years ago
LEdoian
efcbb62712
Restrict Django version in order to work
3 years ago
LEdoian
ccbf5c86fc
Add a deploy script
...
This script should be run to deploy Wish in production. It _should_ do
everything needed, but currently it is created without being tested, so
no warranties :-)
(There will be no warranties anyway, ever :-))
3 years ago
LEdoian
3649f8be83
Move the secrets file to conf directory
3 years ago
LEdoian
40e62c9d8d
Add more notes to nginx config
3 years ago
LEdoian
ab018fc4f4
Add more variables to wish.secrets
3 years ago
LEdoian
c0ece9ca5e
Add example secrets file
...
The file should hold all instance-specific configuration
3 years ago
LEdoian
38fa3f0795
Remove instance-specific data from settings.py
3 years ago
LEdoian
32402aba3e
Add django-sendmail-backend
...
The version is fixed, because updates may not be trustworthy. This
version I have read :-)
3 years ago
LEdoian
142eab4ebd
Put the footer into a paragraph tag
3 years ago
LEdoian
74eaaa8df4
Change the footer to reflect being on dynamic site
3 years ago
LEdoian
2954052580
Allow HTML in descriptions
...
Security consideration: This allows users to do XSS on people. But we
trust our users :-)
3 years ago
LEdoian
3a04b06fac
Harden a bit :-)
4 years ago
LEdoian
fed30627c3
Add link to wishlists
4 years ago
LEdoian
10b16f6c39
Differentiate production and testing ALLOWED_HOSTS
4 years ago
LEdoian
a17313a146
Add a FIXME
4 years ago
LEdoian
86d11009f6
Configure settings.py for deployment
4 years ago
LEdoian
57601de96d
Add a TODO about security issue
4 years ago
LEdoian
17d6ae0066
Implement links to wished item descriptions
4 years ago
LEdoian
aa1183b022
Add sample config files
4 years ago
LEdoian
08a0acd287
Remove duplicate STATIC_URL setting
4 years ago
LEdoian
99dca21777
Adapt settings.py for deployment
4 years ago
LEdoian
d8a8c80bb0
Add URLs for wishlist models
4 years ago
LEdoian
1e3db9b7b5
Match substrings, not just prefixes, in autocompletion
4 years ago
LEdoian
2fe939460b
Define string representations for wishlist models
4 years ago
LEdoian
a50fb8ce24
Use autocomplete for list of wishlists (WIP)
...
Note to self: forgetting to add dal to INSTALLED_APPS leads to names in
it not being available, although dal itself exists.
4 years ago
LEdoian
2b12c8fc9e
Add requirement and constraint files
4 years ago
LEdoian
d7a1c6cce0
Use custom form for WishList multiple select
4 years ago
LEdoian
f9d906f910
Fix URLconf of item
4 years ago
LEdoian
330bdf27d8
Make item description optional
4 years ago
LEdoian
3b90437afc
Fix slug not being editable
...
Editable means also settable. I wanted it not to change after setting,
but to no avail...
4 years ago
LEdoian
ff5a5549d4
Add basic admins for wishlist
4 years ago
LEdoian
206377b58b
Set User's stringification
4 years ago
LEdoian
434266f802
Set URL for static files
4 years ago
LEdoian
f3f8bca5ed
Django is not Jinja.
...
I might consider switching to Jinja actually...
4 years ago
LEdoian
5b81445eb7
Move templates to the utils app
4 years ago