Questions tagged [n2o]

10 questions
5
votes
3 answers

How to run n2o on 80 port?

I've tried changing port both in wf_core.erl and sys.config, but now it can't even initialize webserver. Checked if something is using 80 port - it is free.
akalenuk
  • 3,815
  • 4
  • 34
  • 56
4
votes
1 answer

n2o Erlang framework email authentication

I'm new to Erlang and N2O but have some experience in python web development. I want to create authentication by email address (email - password) in my application instead of using AVZ. I've created Sign Up page with this code (other code is as…
beatt
  • 96
  • 1
  • 7
2
votes
2 answers

How to install erlydtl to make it usable in nitrogen?

I found, that erlydtl may be used with nitrogen. Unfortunately, author hasn't described how he installed erlydtl to make it usable from nitrogen. Probably somebody has ever faced with the same issue, I'm facing with. If so, please share your…
2
votes
2 answers

Erlang Web Development (Erlang newbie)

I am creating a web app in Erlang with n2o. My current dilemma is the automatic syncing of changes i make to the app's source code to that with the accommodating release. For example, I startup my app release in the erlang console, go to specific…
mamusr
  • 33
  • 6
1
vote
0 answers

event versus amend in synrc/bpe

I'm new to workflow engines. And I want to describe and run my processes using synrc/bpe. There are functions bpe:amend/2 and bpe:event/2. What these used for and what's the difference between them?
xafizoff
  • 398
  • 1
  • 13
1
vote
1 answer

erlang n2o render get <span id="

I want to write web with n2o and rebar3. but I get the page something wrong ,code is here. index.erl -module(index). -compile(export_all). -include_lib("n2o/include/wf.hrl"). -include_lib("nitro/include/nitro.hrl"). main() ->…
hstcscolor
  • 13
  • 3
1
vote
2 answers

Show information on web-page from external process in n2o framework

How can I show information from external processes in N2O framefork. Code like this: tokyoWeather() -> timer:sleep(10000), Data = getTokyoWeater(), ??? SHOW_ON_PAGES, tokyoWeather(). lisbonWeather() -> timer:sleep(10000), …
John Davis
  • 11
  • 3
0
votes
1 answer

How to upload image in N2O erlang

I am setting up a new server in erlang n2o web framework, and want to upload image using #upload. How can I use upload event.
Aaron
  • 1
  • 1
0
votes
1 answer

N2O protocol send an empty data when using gproc:send

I created an N2o protocol that routes messages over different family of application, (before that I used a cowboy websocket handler to do this job) So for example I have this code in my protocol to send a message to a registered process >…
H. SLF
  • 61
  • 8
0
votes
3 answers

Case statement issue in Erlang when working with n2o framework

Question about the case statement in Erlang. I am using n2o as my web application framework. In my sign in page i created an event to extract fields from the page when a user clicks the sign up button, event(sign_up) - > Gender = {Male,Female} =…
mamusr
  • 33
  • 6