Easy Express Installation
Well I just installed Drigg and it was surprisingly easy considering I'm a total newb. A little background before I start, I've been meaning to install a digg clone for some time. Came across Pligg which I wasn't impressed with just due to the politics and practices. So I decided on Drigg which extremely impressed with! - Keep it up guys!
Now I want to contribute to the community and grow Drigg. Suppose I could start with a simple "how to install" Drigg from a newbie's perspective. What's wrong with the Download and Install page? I said Newbie guide not hardcore Drigg coder guide haha.
Step 1: Install Drupal
Download http://www.drigg-code.org/files/www.drigg-code.org/drigg-distr.tgz Once you have downloaded the file unzip drigg-distr.tgz
Open the unzipped folder (drigg-distr) and look for the install.txt and open it. Go down to "INSTALLATION" and follow the steps needed to install Drupal. Follow the steps to a T.
Okay so following the install.txt you have successfully installed your database, ran the install script with necessary username / password / database name. Configured Drupal and ran cron tasks. Moving on...
Enable Clean Urls.
Goto Administer -> Site Configuration -> Clean URLs.
Oh hell I cant enable it coz it's greyed out, that's because you have to click on test 1st (test if your server is setup for Clean Urls)
Now this is were I got stuck... The test failed and said I need to add Apache modules OMG! wtf? Well it so happens my server is setup to allow the correct Apache modules but it still didn't work.
Now I'm not sure If I did this correct (correct me if im wrong) my .htaccess was empty. So I found a Drupal .htaccess file and uploaded to my server, clicked on test Clean Urls and it worked. Clicked on "enable" clean urls. Moving on...
2: Load information into your database
Now, load the database dump [your_drupal_dir]/drigg/drigg_distr_sql.mysql into your Drupal database. You can do this from the command line by typing (assuming that the database name is drigg_db):
What?! This is all greek to me, can't I do this from Cpanel? Yes you can!
Goto your server (all your uploaded files) I did this via ftp. Goto [your_drupal_dir] then drigg folder and look for this file: drigg_distr_sql.mysql and copy it your desktop. Then goto cpanel...
- Choose phpmyadmin in cpanel
- Choose your database you setup earlier.
- Choose import in the top tabs
- Choose the browse button and locate drigg_distr_sql.mysql on your desktop.
- Click "GO" to import the database
Important note: the main user's name is "admin", the password is "adminhere". You NEED to change this as soon as you log in.
There is also another user, "admin user", with extra powers (he's marked as "Drigg administrator"). The password, again, is "adminhere" - you NEED to change this too!
Step 3: Customise it!
At this point, you will want to change some of the information that comes "in stock" with this prepackaged version:
Username, email addresses and passwords for the users "admin" and "admin user". Go to Administer -> User Management -> Users. The "site's" email address. Go to Administer -> Site Configuration -> Site information
Step 4: That's it!
Now what happens If I want to upgrade my Drigg module to the latest version.
Go here http://drupal.org/project/drigg and download the latest update.
Unzip the file and upload it to your server to this folder /sites/all/modules/drigg and replace the files.
then goto your url www.example.com and type /update.php
eg: www.example.com/update.php - Its says I should backup my database should I? Dunno I did, coz it said so!
Well I hope I did it correctly, and I hope that someone find this useful. Now I'm going to start playing and do what I'm good at... skinning and themes.
Yeah sure, don't wanna
Yeah sure, don't wanna bugger up the "download and install" page! No pressure!
Would you like it after the express installation or manual? Meaning do you want me to copy n paste "newbie guide" after express or right @ the bottom of the page under manual install?
I think having notes would work...
Hi,
I think having "notes for newbies" here and there in the Download And Install page would be better. Don't worry about buggering it up - it will only be for a day or so :-) As long as you put the divs around your text, it will look totally fine once Alan's added his magic to the CSS :-)
THANK YOU|
Merc.
Question...
Hi,
Rekless, if I give you editing access to the install page, would you be willing to/would you be able to change it in order to add your text as "Hint for newbie!" or something like that?
That would be _fantastic_
I have already changed the ownership to you... if you like, just change add your text with this around it:
...
Don't worry if it doesn't look quite right... if you change it, I will get Alan to make it look pretty!
Bye!
Merc.
1. Okay so being new to
1. Okay so being new to Drupal and Drigg do you guys have any recommendations for working must have modules? Like a top 10 list of super cool modules to use?
2. Categories, from my understanding I cant have hierarchy. Now if I was to setup categories like digg.com which have a drop down menu could that be done with Drupal modules (Clean Menus module)? My problem would be that I would have to many categories, it would take up so much of the sidebar and menu, unless i remove em?
Any help would be greatly appreciated
Greetz to the Drigg team - Keep it up!