[Mayan EDMS: 130] No styles

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 130] No styles

Jeski
Hi

Have installed latest Git-version of Mayam. Was simple. But I do not
get the styles straight.
This is how it looks like now: http://www.pictourl.com/viewer/7c391982
What can be done about this.?


Thanks in advance
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 132] Re: No styles

rosarior
Administrator
Hi thanks trying out Mayan EDMS,

Django only supports static media (css, html, images) serving (https://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-files-in-development) for testing and debugging purposes only.  To enable this create a settings_local.py file and add the following:

DEBUG=True
DEVELOPMENT=True

If everything works well remove these and serve static files with your webserver of choice.  A sample Apache file is included in /contrib/apache to get you started.


On Thursday, March 8, 2012 8:54:15 AM UTC-4, Jeski wrote:
Hi

Have installed latest Git-version of Mayam. Was simple. But I do not
get the styles straight.
This is how it looks like now: http://www.pictourl.com/viewer/7c391982
What can be done about this.?


Thanks in advance
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 132] Re: No styles

Jeski
WOW

And so easy to install.
In its own environment.
Great.

Files are kept in /EDMS/mayan/document_storage and indexed in Mayan,
ore need files to be uploaded in the database?



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 134] Re: No styles

rosarior
Administrator


On Thursday, March 8, 2012 1:24:09 PM UTC-4, Jeski wrote:
WOW

And so easy to install.
In its own environment.
Great.


Thanks! :)
 
Files are kept in /EDMS/mayan/document_storage and indexed in Mayan,
ore need files to be uploaded in the database?


By default the files are kept in <Mayan installation directory>/document_storage but you can change that with the STORAGE_FILESTORAGE_LOCATION configuration option.  To store files in other places you can write your storage driver (https://docs.djangoproject.com/en/dev/howto/custom-file-storage/) and store the files in a FTP server o even in Amazon's S3.  Mayan includes a MongoDB GridFS driver but haven't used it for a while don't know if it still works (http://readthedocs.org/docs/mayan/en/latest/topics/settings.html?highlight=gridfs#storage) (http://www.mongodb.org/display/DOCS/GridFS)

Regardless of where you store your files you can index them using the rule based automatic indexing (http://readthedocs.org/docs/mayan/en/latest/topics/indexes.html) and Mayan will produce a tree populated with document links.
 
Loading...