rails source for the website freeldssheetmusic.org
rdp/sacredsheetmusic.org
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
installation instructions for site (rails 2.3.8) To use, download # first install ruby enterprise edition, then... add 1G swap, swappiness 20 [?] install ree, must patch tcmalloc first rbenv/ruby-build#186 and must install it using this to avoid timeout.rb SEGFAULT CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls" /home/rdp/downloads/ruby-enterprise-1.8.7-2012.02/installer --configure-arg --disable-doc sudo apt-get install libmysqlclient-dev gem install mysql2 ~/.gemrc gem: --no-rdoc --no-ri [install apache] run passenger install from ree, accept its apt-get suggestions/requirements config/logrotate.conf follow its instructions add to apache2.conf: LoadModule passenger_module /home/rdp/installs/ree-187/lib/ruby/gems/1.8/gems/passenger-5.0.7/buildout/apache2/mod_passenger.so <IfModule mod_passenger.c> PassengerRoot /home/rdp/installs/ree-187/lib/ruby/gems/1.8/gems/passenger-5.0.7 PassengerDefaultRuby /home/rdp/installs/ree-187/bin/ruby </IfModule> to /etc/apache2/sites-enabled: ...</VirtualHost> (see config file in config dir for full examples) now create config/database.yml with some new mysql parameters, then run $ apt-get install mysql-server run mysql then create user 'prod_flds'@'localhost' identified by 'XX'; create database prod_flds_database GRANT ALL PRIVILEGES ON prod_flds_database . * TO 'prod_flds'@'localhost'; $ gem update --system 1.3.7 or some odd version $ gem uninstall rake $ gem install rake -v 0.8.7 $ gem install os $ gem uninstall rack # and reinstall v 1.1.6 -- or do we get the reinstall for free with gems:install perhaps... $ rake gems:install # still needed I think, this is a mess, some are vendored, some have to be installed for native, some have both what? $ gem install sundawg_premailer # bundled but shouldn't be, etc. $ rake db:create # unless you already did, depending on how you setup the mysql DB # now either the following, or load a dump snapshot of your DB $ rake substruct:db:bootstrap $ rake db:migrate and it should be ready. sudo apt-get install imagemagick also needs...ghost something...script and...ffmpeg But really you can just email us comments/concerns about the site rogerdpack@gmail.com :) transfer other small'ish websites and test site sudo apt-get install vsftpd https://help.ubuntu.com/community/vsftpd "The workshop" create /etc/vsftpd/vusers.txt file appropriately (and its companions), etc. create dir /home/vftp/carolyn as symlink to correct www folder
About
rails source for the website freeldssheetmusic.org
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published