Restructure directories #23

Open
opened 2018-03-07 10:26:21 +00:00 by tammoterhark · 4 comments
tammoterhark commented 2018-03-07 10:26:21 +00:00 (Migrated from github.com)

/hypha (all static files)

/site (dynamic files)

/site/styles
/site/styles/default
/site/styles/mycustomtheme
(styles include css, images and any js needed)

/site/content
/site/content/images
/site/content/pages
/site/content/files (documents, uploads)
/site/content/data (for sqlite, json and others)
/site/settings (for hypha.xml)
/site/settings/languages

/hypha (all static files) /site (dynamic files) /site/styles /site/styles/default /site/styles/mycustomtheme (styles include css, images and any js needed) /site/content /site/content/images /site/content/pages /site/content/files (documents, uploads) /site/content/data (for sqlite, json and others) /site/settings (for hypha.xml) /site/settings/languages
matthijskooijman commented 2018-03-15 12:40:07 +00:00 (Migrated from github.com)

Perhaps /site/styles/default is better placed inside /hypha, so /site/ only contains site-specific data and is untouched during an upgrade (and then the default style can be easily upgraded). The same goes for any bundled language files.

Perhaps `/site/styles/default` is better placed inside `/hypha`, so `/site/ `only contains site-specific data and is untouched during an upgrade (and then the default style can be easily upgraded). The same goes for any bundled language files.
matthijskooijman commented 2018-03-15 12:42:26 +00:00 (Migrated from github.com)

/hypha is essentially what /system is now, should we rename that or just leave it? Same for /site and /data?

`/hypha` is essentially what `/system` is now, should we rename that or just leave it? Same for `/site` and `/data`?
tammoterhark commented 2018-03-31 18:32:05 +00:00 (Migrated from github.com)

@laurensmartina Please keep in mind that a default theme is upgradable and placed in /hypha/theme/default (or /system/theme/default, that is up to the development team to decide).

All other (custom) themes go to /data/themes/.. (or /site/themes).

@laurensmartina Please keep in mind that a default theme is upgradable and placed in /hypha/theme/default (or /system/theme/default, that is up to the development team to decide). All other (custom) themes go to /data/themes/.. (or /site/themes).
matthijskooijman commented 2018-11-26 17:29:43 +00:00 (Migrated from github.com)

I think this ties in with #18 and #93.

I think this ties in with #18 and #93.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harmen/hypha#23
No description provided.