1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

rails??????

Discussion in 'Content Management' started by googledaily.com, Sep 16, 2009.

  1. #1
    i have some installation instructions about a script but i cant understand it..even though i dont have know about rails etc. please if anyone extract the installation steps i will be very grateful. thanks
    just explain the steps little bit i will try to learn ..thanks
    where to install rails? at my server or computer???
    various gems?
    memcached?
    sphinx
    what is git function and how to do this???
    what does rake mean????


    Completely incomplete installation instructions:

    install rails 2.3.2
    install various gems (check environment.rb)
    install memcached
    install sphinx

    git clone git://github.com/jgilliam/nationbuilder.git
    git submodule init
    git submodule update

    Create your database and configure config/database.yml for your database server and remove the .dist. You should also
    change the session_key and secret_key to something unique.

    Load the database:

    rake db:schema:load

    Remove the .dist from the various config files in config/ and configure them appropriately

    config/contacts.yml -- for the contact importer
    config/newrelic.yml -- for new relic
    config/nb.yml -- you probably won't want to change anything on this
    config/amazon_fps.yml -- not used right now, but will soon

    add cron jobs based on the example in config/crontab.dist

    Start the server and load up your browser. The first screen will ask you for a few basic things about your nation.
    Once you're through with that, you'll be ready to go. There are a lot more settings under Settings > Nation Settings.

    To enable Facebook integration:

    Go to Facebook developer's site and create an application.
    Under "Connect" options, be sure to put the domain you are using.
    The API key and secret key go in your database.yml file.

    rake facebook:register_templates
     
    googledaily.com, Sep 16, 2009 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    405
    Best Answers:
    21
    Trophy Points:
    295
    #2
    Looks like you need RUBY installed on your server. You are going to need to get some help if you don't understand that terminology.

    hope that helps,
    Nigel
     
    Nigel Lew, Sep 16, 2009 IP
  3. googledaily.com

    googledaily.com Peon

    Messages:
    285
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes i need help
    Ok what next if ruby is installed at my server?
     
    googledaily.com, Sep 16, 2009 IP
  4. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    405
    Best Answers:
    21
    Trophy Points:
    295
    #4
    If you have a link to the app in question I may be able to help. I have a high level programmer that does that stuff for me.

    In addition to RUBY you need rails installed along with everything else on the list. You appear to need shell access to get that stuff running.

    It is hard to say really without knowing what you are trying to do. I get its a facebook app of some sort but that, in and of itself, is not all that helpful.

    You should be asking this in the programmer or server section of DP.

    Nigel
     
    Nigel Lew, Sep 17, 2009 IP
  5. aboody

    aboody Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    install ruby, then install rails, gem install rails, then follow those instructions :D
     
    aboody, Sep 23, 2009 IP