Erlang newbie help with active

#2 · closed · 3 comments

View on GitHub ↗

mamusr

I am using n2o for erlang web development and active is included in the rebar.config. My current process. Change a source file. include the active app in the reltool,config. Generate a release. Run the web release from the erlang console to see the new changes when i go test on localhost site. Change the source file again to see new changes reflected in web site. No luck I must be doing something wrong because active is not working. For experienced erlang web developers what do you do? 1. Do you use a script to run the web app and it dependencies through the erlang shell. 2. Do you need to run a release in order to debug and develop the web app?

Comments

5HT

I said you to include active into rebar.config not retool.config :-) You shouldn't use retool. Under releases sync/active will not work without hacks. You should see n2o_sample inside n2o. just do git clone http://github.com/5HT/n2o cd n2o/samples make make console As simple as that.

mamusr

Thank you Maxim/Namdak for your help. Sorry for bugging you. It took me some time to see the light. I need to teach myself more about how the makefiles work. Thank again and for your erlang contributions. Sincerely, Michael Mota

5HT

You are welcome. Feel free to ask.