Hello Priyam
sequenceserver works perfectly on localhost:4567 but now I would like setup on Apache. I have download passenger and validated it with “sudo /usr/local/bin/passenger-config validate-install”. I used MAMP pro to manage my webserver and I don’t know how to deploy sequencerserver with it…
thank you for your help.
Best regards,
Didier
Hi Didier,
-
Installing Passenger is covered at Phusion Passenger’s website. And that’s “the" way to go about it.
-
SequenceServer is a Ruby app. (Ruby != Rails). How to setup a Ruby app with Passenger is also covered on Phusion Passenger website, here - https://www.phusionpassenger.com/library/deploy/apache/deploy/ruby/. It is “the” way to go about it.
-
Three are only four SequenceServer specific things:
a. Make sure SequenceServer runs correctly on localhost:4567.
b. Find out where the gem is installed and delete Gemfile from that directory. Not applicable if you are running SequenceServer from source.
c. Edit config.ru (in the directory SequenceServer is installed in) to indicate absolute path to SequenceServer’s config file (by default: ~/.sequenceserver.conf). See below.
- SequenceServer.init :config_file => “/home/foo/.sequenceserver.conf”
d. If you want to get taxonomy data, see - https://groups.google.com/forum/#!topic/sequenceserver/mrZknaM_AoI
-
These instructions are for latest Passenger. Use latest Passenger, even if you have to jump hoops. It makes life easy. For all.
-
If assets (JS, CSS) don’t load, it’s not SequenceServer’s fault. See - https://groups.google.com/forum/#!topic/sequenceserver/NIfKTNm1om4.
-
SequenceServer can be integrated with Apache, but nobody said it will be easy. Configuring Apache is standard Linux sysadmin territory along with all its greatness and nuances that can’t be coded away from inside SequenceServer - precisely why we bundle a web server that we can control.
I hope this helps.
(p.s: Googling “sequenceserver apache” turns up a number of relevant hits)
— Priyam