|
|
| Author |
Message |
|
| Guest |
Posted: Sun Jan 06, 2008 9:50 pm |
|
|
|
Guest
|
Hi,
this is the result of multiple triesto get ErlyWeb working under
Windows
I hope someone can add it to the wiki to make it easier for others:
Erlang & ErlyWeb
Download Erlang installer:
http://www.erlang.org/download.html
Download YAWS
http://yaws.hyber.org/download/
Download Erlyweb:
http://erlyweb.org/
Download Eclipse
http://www.eclipse.org/downloads/
1) Install Erlang
* just run the installer
2) Install YAWS
fixes for windows (1.74):
* rename the "yaws-1.74/src" directory to "yaws" and copy a copy of it
into "src" (some of the files in src ecpect their include files in
yaws/src/ - under unix I would use a link to fix this problem
* download windows installer http://yaws.hyber.org/wiki/showOldPage.yaws?node=YawsAndWin32&index=1
win32.tar.gz
* copy content from win32.tar.gz into directory "yaws"
* change install.cmd (only if you do not have an english Window!!!):
+ SET HOME="%HOMEDRIVE%%HOMEPATH%\Eigene Dateien"
+ IF NOT DEFINED ProgramFiles SET ProgramFiles="c:\Programe"
* goto directory "yaws" and run on cmdline "install YAWS"
* copy result from "C:\Programme\yaws-1.74" to"C:\Programme
\erl5.5.5\lib\yaws-1.74"
* changes in "C:\Programme\erl5.5.5\lib\yaws-1.74\yaws.bat":
+ add SET YAWS Verzeichnis
+ change "SET conf=-conf %~s1" to "SET conf=-conf %1"
+ change "%YAWS:\=/%/ebin" to "%YAWS:~1,-1%ebin"
3) Install ErlyWeb
* extract content of tar and copy it to "C:\Programme\erl5.5.5\lib"
* modify path to YAWS include in "C:\Programme\erl5.5.5\lib
\erlyweb-0.7\Emakefile" to "{i,"C:/Programme/erl5.5.5/lib/yaws-1.74/
include"}"
* modify "make.bat":
C:\Programme\erl5.5.5\bin\erlc make_erlyweb.erl
C:\Programme\erl5.5.5\bin\erl -noshell -run make_erlyweb -pa ebin -run
erlang halt
* delete all files in "C:\Programme\erl5.5.5\lib\erlyweb-0.7\ebin"
4) Install Eclipse
* copy "eclipse" to "C:\Programme\"
5) Install Erlide (Erlang IDE for Eclipse)
Then in Eclipse, choose Help->Software Updates->Find and install...-
>New features and create a new remote update site, pointing it at
http://erlide.sourceforge.net/update . Follow then the normal
installation procedures.
After restart you will be asked to provide the erlang directory "C:
\Programme\erl5.5.5\"
* setup start YAWS from Eclipse
+ choose Run-External Tools->Open external Tools Dialog..
+ create new program "Start YAWS"
+ Location: C:\Programme\erl5.5.5\lib\yaws-1.74\yaws.bat
+ Working Directory: ${project_loc}\ebin
+ Arguments: -i -w -I "${project_name}" -c "${project_loc}\yaws.conf"
If you start YAWS from Eclipse, yaws.conf needs to be in the root
directory of your project.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Jan 10, 2008 7:36 am |
|
|
|
Guest
|
Thanks! I added you as a project member. Would you mind adding these
instructions to the google code wiki?
On Jan 6, 2008 1:49 PM, Andreas <andreas.heissenberger@gmail.com> wrote:
>
> Hi,
> this is the result of multiple triesto get ErlyWeb working under
> Windows
> I hope someone can add it to the wiki to make it easier for others:
>
> Erlang & ErlyWeb
>
> Download Erlang installer:
> http://www.erlang.org/download.html
>
> Download YAWS
> http://yaws.hyber.org/download/
>
> Download Erlyweb:
> http://erlyweb.org/
>
> Download Eclipse
> http://www.eclipse.org/downloads/
>
>
> 1) Install Erlang
> * just run the installer
>
> 2) Install YAWS
> fixes for windows (1.74):
> * rename the "yaws-1.74/src" directory to "yaws" and copy a copy of it
> into "src" (some of the files in src ecpect their include files in
> yaws/src/ - under unix I would use a link to fix this problem
> * download windows installer http://yaws.hyber.org/wiki/showOldPage.yaws?node=YawsAndWin32&index=1
> win32.tar.gz
> * copy content from win32.tar.gz into directory "yaws"
> * change install.cmd (only if you do not have an english Window!!!):
> + SET HOME="%HOMEDRIVE%%HOMEPATH%\Eigene Dateien"
> + IF NOT DEFINED ProgramFiles SET ProgramFiles="c:\Programe"
> * goto directory "yaws" and run on cmdline "install YAWS"
> * copy result from "C:\Programme\yaws-1.74" to"C:\Programme
> \erl5.5.5\lib\yaws-1.74"
> * changes in "C:\Programme\erl5.5.5\lib\yaws-1.74\yaws.bat":
> + add SET YAWS Verzeichnis
> + change "SET conf=-conf %~s1" to "SET conf=-conf %1"
> + change "%YAWS:\=/%/ebin" to "%YAWS:~1,-1%ebin"
>
> 3) Install ErlyWeb
> * extract content of tar and copy it to "C:\Programme\erl5.5.5\lib"
> * modify path to YAWS include in "C:\Programme\erl5.5.5\lib
> \erlyweb-0.7\Emakefile" to "{i,"C:/Programme/erl5.5.5/lib/yaws-1.74/
> include"}"
> * modify "make.bat":
> C:\Programme\erl5.5.5\bin\erlc make_erlyweb.erl
> C:\Programme\erl5.5.5\bin\erl -noshell -run make_erlyweb -pa ebin -run
> erlang halt
> * delete all files in "C:\Programme\erl5.5.5\lib\erlyweb-0.7\ebin"
>
> 4) Install Eclipse
> * copy "eclipse" to "C:\Programme\"
>
> 5) Install Erlide (Erlang IDE for Eclipse)
> Then in Eclipse, choose Help->Software Updates->Find and install...-
> >New features and create a new remote update site, pointing it at
> http://erlide.sourceforge.net/update . Follow then the normal
> installation procedures.
>
> After restart you will be asked to provide the erlang directory "C:
> \Programme\erl5.5.5\"
>
> * setup start YAWS from Eclipse
> + choose Run-External Tools->Open external Tools Dialog..
> + create new program "Start YAWS"
> + Location: C:\Programme\erl5.5.5\lib\yaws-1.74\yaws.bat
> + Working Directory: ${project_loc}\ebin
> + Arguments: -i -w -I "${project_name}" -c "${project_loc}\yaws.conf"
>
> If you start YAWS from Eclipse, yaws.conf needs to be in the root
> directory of your project.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|