ERL in corp app for fortage
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 
serkus01 0418638463 move include/scan.erl => src/scan.erl 4 månader sedan
bin push app in git 4 månader sedan
docker push app in git 4 månader sedan
erts-11.1.5 push app in git 4 månader sedan
etc push app in git 4 månader sedan
lib push app in git 4 månader sedan
log/sasl move include/scan.erl => src/scan.erl 4 månader sedan
misc push app in git 4 månader sedan
releases push app in git 4 månader sedan
site move include/scan.erl => src/scan.erl 4 månader sedan
BuildInfo.txt push app in git 4 månader sedan
Makefile push app in git 4 månader sedan
README.md push app in git 4 månader sedan
do-plugins.escript push app in git 4 månader sedan
plugins.config push app in git 4 månader sedan
rebar push app in git 4 månader sedan
rebar.config push app in git 4 månader sedan
report.log move include/scan.erl => src/scan.erl 4 månader sedan
simple_bridge:8000.access push app in git 4 månader sedan
simple_bridge:8000.auth push app in git 4 månader sedan
yaws_dynopts.beam push app in git 4 månader sedan

README.md

About

This is an Erlang web application using the Nitrogen Web Framework.

Building

You can rebuild the project by typing:

make

If this fails, it likely means that its a slim release and Erlang is not installed on this machine. Please install Erlang.

Running

You can start the application with:

bin/nitrogen start

which will start it in daemon mode. You can attach to this started daemon with:

bin/nitrogen attach

If you’d rather have an Erlang console right away, rather than starting a daemon, type:

bin/nitrogen console

Config

The rebar.config file controls dependencies and build parameters using the popular rebar tool.

The plugins.config file controls how Nitrogen plugins are handled.

The files in the etc directory control application configuration, including ports, webserver set up, and the like. Please see the files there for configuration options, or view the Nitrogen documentation.

Code

Dependency libraries (once being built) end up in the lib directory.

Source code can be found in site/src

Template code is in site/templates

Compiled Erlang modules (ebin files) go in site/ebin

Live code reloading

By default Nitrogen comes with an application called sync which provides automatic code reloading when the related .erl file or .ebin file is updated. To use this, run the following on the Erlang shell:

sync:go().