XP Install Help Needed

1 view
Skip to first unread message

EAE

unread,
Nov 8, 2009, 3:03:02 PM11/8/09
to Nitrogen Web Framework for Erlang
<newbiealert>

I am trying to get nitrogen to work on XP.

I installed Erlang and manually updated the PATH variable. My Erlang
files are located here: D:\Program Files\erl5.7.3 I am able to run
the Erlang emulator (erlw.exe) to run the basic tutorials, I can also
invoke Erlang from the command line. So the Erlang installation seems
to check out just fine.

I then attempted to install Nitrogen. I downloaded the .zip and
extracted it. It was unclear to me where that file should have been
extracted. I took a guess, then ran the quickstart.bat but was unable
to attach to http://localhost:8000 or http://127.0.0.1:8000. Took a
couple more guesses. Nada. Where is that ".wwwroot\nitrogen" is
supposed to go? Anyway, I gave up on that effort and attempted
something else.

I installed git, then "gitted" nitrogren.

cd d:\program files\erl5.7.3\lib
git clone git://github.com/rklophaus/nitrogen.git nitrogen-master
cd nitrogen-master

so I have this structure: D:\Program Files\erl5.7.3\lib\nitrogen-
master

Then I ran these commands (lifted from the quickstart.bat):

erl -make
erl -name nitr...@127.0.0.1 -pa apps ebin include -pa ..\ebin ..
\include -eval "application:start(quickstart_inets)"

but cannot get http://127.0.0.1 or http:/127.0.0.1:8000 to work

Can anyone straighten me out?

</newbiealert>

EAE

unread,
Nov 8, 2009, 10:39:59 PM11/8/09
to Nitrogen Web Framework for Erlang
FWIW, it's definitely not Erlang or inets because I was able to get
'Hello World' out of inets.

On Nov 8, 12:03 pm, EAE <ernest.e...@gmail.com> wrote:
> <newbiealert>
>
> I am trying to get nitrogen to work on XP.
>
> I installed Erlang and manually updated the PATH variable. My Erlang
> files are located here: D:\Program Files\erl5.7.3  I am able to run
> the Erlang emulator (erlw.exe) to run the basic tutorials, I can also
> invoke Erlang from the command line. So the Erlang installation seems
> to check out just fine.
>
> I then attempted to install Nitrogen. I downloaded the .zip and
> extracted it.  It was unclear to me where that file should have been
> extracted.  I took a guess, then ran the quickstart.bat but was unable
> to attach tohttp://localhost:8000orhttp://127.0.0.1:8000.  Took a
> couple more guesses.  Nada.  Where is that  ".wwwroot\nitrogen" is
> supposed to go?  Anyway, I gave up on that effort and attempted
> something else.
>
> I installed git, then "gitted" nitrogren.
>
> cd d:\program files\erl5.7.3\lib
> git clone git://github.com/rklophaus/nitrogen.git nitrogen-master
> cd nitrogen-master
>
> so I have this structure: D:\Program Files\erl5.7.3\lib\nitrogen-
> master
>
> Then I ran these commands (lifted from the quickstart.bat):
>
> erl -make
> erl -name nitro...@127.0.0.1 -pa apps ebin include -pa ..\ebin ..
> \include -eval "application:start(quickstart_inets)"
>
> but cannot gethttp://127.0.0.1or http:/127.0.0.1:8000 to work

Silvester

unread,
Nov 9, 2009, 3:12:31 AM11/9/09
to Nitrogen Web Framework for Erlang
Hi,
I never tried it, but, if u would like I can give u a set of
instructions how to install ubuntu over a vm on windows and work with
a terminal.

Silv.
> > but cannot gethttp://127.0.0.1orhttp:/127.0.0.1:8000 to work

EAE

unread,
Nov 9, 2009, 12:15:24 PM11/9/09
to Nitrogen Web Framework for Erlang
It's up and running now. If anyone else is following my trail to get
Nitrogen & Erlang running on XP . . . this is the trail that got me
there:

1. Downloaded the latest Erlang
2 After the install, I manually edited the path statement to include
the Erlang bin directory (reboot)
3. To run the basic Erlang tutorials, you have to save the files you
create to a specific directory
a. Use the Start/All Programs/Erlang . . .but rt-click on the
icon to see the porperties
b. Note the "Start in:" directory, that is where you need to save
the files.
4. After running some basic tutorials, test Inets:http://
blog.foemmel.com/2008/05/hello-world-webapp-in-erlang.html
5. Download nitrogen, unzip, I then copied the files to this
location . . . D:\Program Files\erl5.7.3\lib\nitrogen-master
6. drill into the subdirectory to the quickstart.bat
7. http://localhost:8000

If you are good through the first 6 steps, but the server does not
launch properly, then try a reboot.


Reply all
Reply to author
Forward
0 new messages