[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [epf-dev] How to start EPFWiki as a service
|
Hi John,
I can access the site right now but I have experienced problems with accessing the gems as well in the past.
A common problem is when you are behind a proxy server. In that case you can append a switch to set the proxy server for example gem install xhtmldiff -p
http://myproxy.com:80. If the proxy requires authentication you can add username and password to the URL of the proxy server.
You can also download the gems manually from
http://gems.rubyforge.org/gems on a machine that access to the gem site. Transfer the gem to the server and then append the filename to gem install to install it.
HTH,
Onno
On Mon, Nov 23, 2009 at 2:04 PM,
<John.Zabel@xxxxxxxxxxxx> wrote:
Hello,
Everything listed below sounds good,
except the gem website http://gems.rubyforge.org/yaml is no longer active
and the install of gem can not be used as it throws the following error:
ERROR: While executing gem ...
(Gem::RemoteSourceException)
HTTP Response 403 fetching
http://gems.rubyforge.org/yaml
I have no idea how to get around this,
so I am stuck.
John Zabel
Transformation Implementation
70 Metro Park
Rochester, NY 14623
Peter Haumer <phaumer@xxxxxxxxxx>
11/22/2009 09:44 PM
|
To
| |
cc
| |
Subject
| Re: [epf-dev] How to start EPFWiki as
a service |
|
Hello.
This is roughly how I do it by combining steps from the developer guide
and the installation guide. I then run Mongel as a service without an Apache
wrapper.
http://wiki.eclipse.org/EPF_Wiki_Development_Guide
http://wiki.eclipse.org/EPF_Wiki_Installation_Guide
also see this page
http://mongrel.rubyforge.org/wiki/Win32
- Follow all the steps described in dev guide except testing; Aptana Studio
is optional, but recommended if you want to make changes (e.g. I customized
the Welcome page)
- you can get the source from CVS or use the
EPF downloads instead (using the instructions from the installation guide)
- instead of / in addition to creating a development
database you need to create a database with RAILS_ENV=production
- go back to the Installation guide and make the described changes to the
environments/production.rb (server name, smtp server, etc.)
- test the server in a Windows command window
ruby script/server -e production -p 3000
- perform these steps to set-up the service (adjust the path for -c)
gem install mongrel_service
mongrel_rails service::install -N epfwiki15
-c c:\epfwiki15 -p 3000 -e production
- set the service to run automatically using the Windows computer management
console or net commands
- finish the steps of setting up the automatic task described in the installation
guide
Thanks and best regards,
Peter Haumer.
______________________________________________________________
PETER HAUMER, Dr. rer. nat.
Measured Capability Improvement Framework Solutions
Rational Software | IBM Software Group
______________________________________________________________
Hi John,
A workaround is to disconnect the connection (and not log out) so the user
session doesn't terminate.
Windows and InstantRails is not recommended for a production environment.
The recommended OS is Linux, there is a installation guide for Ubuntu see
http://wiki.eclipse.org/EPF_Wiki_Installation_Guide_for_Ubuntu.
Should be easy to translate this guide for other distributions. I have
used EPF Wiki on Ubuntu, Debian, SUSE.
InstantRails offers all the required bits for running a Rails app in a
single download. It is doesn't install or leave anything on the OS which
is done on purpose.
I'm not sure right now if it is easy to create Windows services from InstantRails.
Maybe it is easier the install the individual bits MySQL, Ruby, Rails,
Mongrel, Apache I think then you will have all the services but the drawback
is that you have to do configuration yourself.
Best Regards,
Onno
On Thu, Nov 19, 2009 at 6:03 PM, <John.Zabel@xxxxxxxxxxxx>
wrote:
I have installed and configured the EPFWiki and its functions. However,
I do not know how to run it as a service on the server where it is installed.
Without running it as a service, I need to log into the server, start InstantRails
and Start the EPFWiki. When I log out of the server the EPFWiki terminates.
How do I keep it up and running when I am not logged into th server?
John Zabel
Transformation Implementation
70 Metro Park
Rochester, NY 14623
_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev
_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev
_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev
_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev