Coder Social home page Coder Social logo

rdp / sacredsheetmusic.org Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 4.0 18.77 MB

rails source for the website freeldssheetmusic.org

Home Page: http://freeldssheetmusic.org

Ruby 53.88% Shell 0.68% HTML 37.02% JavaScript 0.04% CSS 8.38% Batchfile 0.01%

sacredsheetmusic.org's Introduction

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 [email protected] :)

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

sacredsheetmusic.org's People

Contributors

githubsvnclone avatar rdp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.