mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding docs on changing domain from localhost on self-hosted.
This commit is contained in:
parent
6db2ed94ce
commit
0579915fc9
1 changed files with 6 additions and 0 deletions
|
@ -59,6 +59,12 @@
|
|||
|
||||
Note: You will be warned that you are using a self signed certificate. In order to get around this warning you must type "thisisunsafe" as per https://dblazeski.medium.com/chrome-bypass-net-err-cert-invalid-for-development-daefae43eb12
|
||||
|
||||
3. To change the domain from localhost, you'll need to change it in a few places:
|
||||
|
||||
* Change `NEWSBLUR_URL` and `SESSION_COOKIE_DOMAIN` in `newsblur_web/docker_local_settings.py`
|
||||
* Change the domain in `config/fixtures/bootstrap.json`, or if you've already created a site, edit the `Site.objects.all()[0]` domain in the shell, which you can access with `make shell`
|
||||
* If you're using a custom subdomain, you'll also want to add it to `ALLOWED_SUBDOMAINS` in `apps/reader/views.py`
|
||||
|
||||
## Making docker-compose work with your database
|
||||
|
||||
To make docker-compose work with your database, upgrade your local database to the docker-compose version and then volumize the database data path by changing the `./docker/volumes/` part of the volume directive in the service to point to your local database's data directory.
|
||||
|
|
Loading…
Add table
Reference in a new issue