How to recompile a module on running site

36 views
Skip to first unread message

Rudi Angela

unread,
May 20, 2013, 4:19:37 PM5/20/13
to zotoni...@googlegroups.com
Hi there, I need to compile a new module without bringing down the site.
How do I do this?
The documentation says: enter z:m(). in the zotonic console, which is what I do when developing on my local machine, as I'm running 'zotonic debug' so I have this console. But on the server zotonic was started with 'zotonic start' and I don't have this console.

Rudi Angela

Behrad Zari

unread,
May 24, 2013, 11:05:37 AM5/24/13
to zotoni...@googlegroups.com
zotonic update

Behrad Zari

unread,
May 24, 2013, 11:06:51 AM5/24/13
to zotoni...@googlegroups.com
cd zotonic
make
bin/zotonic update
OR
You can also trigger the module scan from admin console GUI.



On Tuesday, May 21, 2013 12:49:37 AM UTC+4:30, Rudi Angela wrote:

Bill Barnhill

unread,
Jul 9, 2013, 10:28:57 AM7/9/13
to zotoni...@googlegroups.com
Also,to get a Zotonic console shell...
bin/zotonic shell

Arjan Scherpenisse

unread,
Jul 9, 2013, 10:46:53 AM7/9/13
to zotoni...@googlegroups.com
This is usually what I do.

I have Zotonic running from an init script
(http://zotonic.com/docs/latest/manuals/deployment/startup.html) and
then do:

sudo /etc/init.d/zotonic shell

which will drop me into the shell. Don't quit it using q(). though!,
otherwise your instance will stop. just ctrl-c twice.

Arjan
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Zotonic users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to zotonic-user...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages