LEdoian
af9896c95f
Use modern syntax for SSL in nginx config
...
My nginx told me that the old one is deprecated.
3 years ago
LEdoian
0214fc0c87
Do not forget to pull the new deploy script
3 years ago
LEdoian
167d7d6059
Use right command for determining current branch
3 years ago
LEdoian
606c8137a9
Add forgotten parameter in recursive call
3 years ago
LEdoian
ebc772b7ed
Add forgotten flag to deploy script
...
I should maybe write tests for even that?
3 years ago
LEdoian
3fc9805219
Fix comparison in deploy.sh
...
This is not perl, so -ne does _arithmetic_ comparison, not string. And
since that is in an if, it does not break the script…
3 years ago
LEdoian
49c5c319c4
Pass parameters to remote deployment
3 years ago
LEdoian
4e67190ebe
Add a simple script for remote deployment
...
It is really barebones and not much extensible…
3 years ago
LEdoian
3e7ef36227
Add author of the code
3 years ago
LEdoian
0816b78b33
Add info about known deficiency of deploy.sh
3 years ago
LEdoian
db66e6e8eb
Beautify django version in footer
3 years ago
LEdoian
0d4119e0ab
Do not ask to overwrite static files when deploying
3 years ago
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