Hi,
that part of the creation of the Fully Qualified Domain Name is not yet 
managed by Mayan and is part of Django's Sites framework 
(https://docs.djangoproject.com/en/1.7/ref/contrib/sites/). To change it, 
you need to use the Admin interface provided by Django. The URL is /admin, 
example: http://127.0.0.1:8000/admin/. This is a low level admin interface 
and changing things directly here is not recommended, that is why a link is 
not provided in Mayan's setup window. At the left there is list of app 
names, click on "Sites" and edit the example.com default as show in the 
attached screenshot. Restart the instance and the domain should be updated. 

On Wednesday, February 10, 2016 at 3:04:14 PM UTC-4, Chris H wrote:
>
> I probably hit a "return" to accept a default during the installation 
> process as I didn't know where I would be hosting this site and ended up 
> with *example.com <http://example.com>*
> Anyway, I finally was able to resolve this by doing the following - I am 
> running on an Ubuntu Linux server:
> Accessed the Postgresql database as follows:
> *psql -W -h localhost -U mayan -d mayan*
> Entered the password.
> Then updated the django_site table as follows:
> *update django_site set domain='mydomain.com:port' where id=1;*
> *update django_site set name='mydomain.com:port' where id=1;*
> Check everything looks good:
>
> *select * from django_site;*
>
> Restarted Mayan:
> *sudo supervisorctl restart all*
>
> Bingo!
>
> Hopefully this will help someone.
>
> Cheers
>
> Chris
>
> On Tuesday, February 9, 2016 at 2:32:03 PM UTC-5, Chris H wrote:
>>
>> Hi 
>>
>> Mayan newbie here - I am just setting it up to see if we can replace 
>> OpenKM for internal use.
>> I have had good success in configuring the system to my needs so far. I 
>> suspect that the system can do a LOT more than I have discovered to date.
>>
>> I have a question regarding the "Email link" functionality. I have it 
>> working but the url to the link is a system default:
>>
>> To access this document click on the following link: 
>> http://example.com/documents/3/preview/
>>
>>
>> I have not had any success in finding where to change this. Any pointers 
>> would be appreciated.
>>
>>
>> Also, I see that these email templates can be viewed in Settings -> Mailing 
>> but cannot be edited from there. Do I need to edit them in the .py file or 
>> is there another way to access them?
>>
>>
>> TIA
>>
>>
>> Chris
>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: Screenshot
Description: Binary data

Reply via email to