Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kaos committed Jun 1, 2009
1 parent 695eef5 commit 0f9a447
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -8,12 +8,15 @@ For the time being, these changes needs to be applied manually.
## Install nitrogen elements as an Erlang library ##

Run:

make

This should compile all elements and place the beam files in the ebin sub directory. Notice: you need to have nitrogen installed (needs to find the wf.inc file).

Add the nitrogen_elements directory to your ERL_LIBS environment variable (or place/clone it to a path already mentioned by ERL_LIBS), then

-include_lib("nitrogen_elements/include/nitrogen_elements.hrl").

to use the elements and actions provided by this lib in your code.

N.B. that i.e. the tabs element needs additional changes to the js and css code. See the src/element_tabs/ directory.
Expand Down

0 comments on commit 0f9a447

Please sign in to comment.