Reddit Source Code

Discussion in 'Programming' started by N1NJA, Oct 28, 2012.

  1. #1
    Hi does anybody know off a tutorial of how to get the reddit.com source code running on my own website ? if anyone knows please drop me a reply... Thanks
     
    N1NJA, Oct 28, 2012 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    There's no tutorial because you can't get the source code. You'll have to write whatever code you want, or you'll have to hire someone to write it. (What you see in your browser's "view source" is only what's sent to your browser, not the code that sends it or the database behind it.)
     
    Rukbat, Oct 29, 2012 IP
  3. N1NJA

    N1NJA Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    20
    #3
    Are you sure ? i thought reddit was open source ?? here the link to reddit Github repository.. https://github.com/talklittle/reddit
     
    N1NJA, Oct 29, 2012 IP
  4. xuled

    xuled Banned

    Messages:
    286
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I do not know about raddit so i can not say anything about this. But i would like to know about this.
     
    xuled, Oct 30, 2012 IP
  5. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #5
    You're talking about that sourcecode. (Most people talking about "sourcecode" on this site mean the code they see in their browser's "view source".)

    Just run install-reddit.sh from the shell. (You need a shell account, or at least shell access for the installation, to install Reddit.) You'll need root privileges and you'll need to be installing on Ubuntu 11.04. Otherwise you'll need to rewrite a few things, and if you can do that you wouldn't be asking how to install it. (What you'll need to rewrite depends on what you're installing it on, but it's mostly Python.)
     
    Rukbat, Oct 30, 2012 IP
  6. N1NJA

    N1NJA Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    20
    #6

    Lol my bad i should have been more clear in my question :) Thanks... Right im on Mac i dont have a spare laptop to run Ubuntu, Do you have any other tips ? Thanks
     
    N1NJA, Oct 30, 2012 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    Either learn enough to run Reddit on MacOS (you'll have to rewrite the code) or dual boot Ubuntu 11.04 on your computer.

    BTW, it's not that you weren't clear in your question, it's that so many people here have no idea how a website works that many of us consider that the default when answering questions. Doing that means that we're almost always right.
     
    Rukbat, Oct 30, 2012 IP
  8. namemesh

    namemesh Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    reddit code can be found on github

    install mac port on Mac and try running reddit otherwise u will need ubuntu.
     
    namemesh, Oct 30, 2012 IP