I like using project_app_dirs 
<https://www.rebar3.org/v3/docs/configuration#section-directories> instead 
of creating a custom symlink strategy. Thanks for the tip!

David


On Sunday, July 9, 2017 at 7:00:56 PM UTC+2, Mikael Karlsson wrote:
>
> *>This BREAKS ALL existing Zotonic-master installs, so DO NOT UPGRADE!*
>
> Sorry I couldn't resist. At least not on my development machine.
>
> So if it is to early for questions just ignore :-)
>
> Concerning the point "user module/site handling with _checkouts" I tried 
> to symlink to my user/sites/<sitename> directory from _checkouts but 
> nothing happened. Adding it in the rebar.config to default app dirs like:
>
> {project_app_dirs, ["apps/*", "lib/*", ".","user/sites/*"]}.
>
> Makes it work. The compiled app ends up under the _build directory 
> together with the modules, I cannot judge if this is any problem though.
>
> Best Regards
> Mikael
>
> Den tisdag 4 juli 2017 kl. 23:42:51 UTC+2 skrev Marc Worrell:
>>
>> Hi,
>>
>> We are preparing a huge update to the 1.0-dev (aka master) branch.
>>
>> This update will make Zotonic compatible with Erlang OTP projects.
>> All modules and sites become OTP applications.
>>
>> *This BREAKS ALL existing Zotonic-master installs, so DO NOT UPGRADE!*
>>
>>
>> And now for some Q&A.
>>
>>
>> *What is changing?*
>>
>>  * All sites must become Erlang OTP applications
>>  * All modules must become Erlang OTP applications
>>  * Zotonic is being split up in different apps, for better re-use
>>  * All Zotonic parts are published as separate packages to hex.pm
>>  * Use the hex package manager for module installations
>>  * The zotonic umbrella project which can be used for core development
>>  * There will be separate “starter” projects for easy development
>>  * rebar3 templates for creating 
>>
>>
>> *When will what happen?*
>>
>> In the coming days we will merge the OTP branch into master.
>> The pull request is: https://github.com/zotonic/zotonic/pull/1717
>>
>> After this we will update with some missing pieces:
>>
>>  - rebar3 templates https://github.com/zotonic/zotonic/issues/1737
>>  - hex for module installs https://github.com/zotonic/zotonic/issues/1742
>>  - user module/site handling with _checkouts 
>> https://github.com/zotonic/zotonic/issues/1743 
>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fzotonic%2Fzotonic%2Fissues%2F1743&sa=D&sntz=1&usg=AFQjCNFSZx0swvWTkHus32C-zD0-oBRciQ>
>>
>> After we added logging we can call it a release candidate.
>>
>>
>> *What is the overall structure of a site/module?*
>>
>> Template, css, js etc. all move into the priv directory.
>> All Erlang source files move into the src directory
>>
>> Example:
>>
>> mysite /
>> src /
>> mysite.app.src
>> mysite.erl
>> controllers / 
>> controller_test_foo.erl
>> models /
>> …
>> priv /
>> zotonic_site.config
>> templates / 
>> …
>> lib /
>> …
>>
>>
>> We will keep you updated via the list.
>>
>> Cheers, Marc
>>
>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to