SimpleLog v Godaddy part 1
Posted by BM5k on July 31, 2007 at 06:04 PM
I started off at the Simple Log homepage after about a minute and a half of googling Typo alternatives.
My Situation
Since Godaddy doesn’t offer SSH access on its shared hosting accounts, I had to manually configure my install locally, then upload everything. Your process should be similar if you’re also installing without SSH.
Prerequisites
I do all of my development on my MBP. (Its a first gen 2ghz 15” model) I’m currently running the following relevant crap:
| OS X | 10.4.10 |
|---|---|
| SVN | 1.3.2 |
| Apache | 1.33 default install |
| Ruby | 1.8.4 |
| Rails | 1.2.3 |
| Rake | 0.7.3 |
| MySQL | 5.0.27 |
| PHP | 5.2.0 |
| phpMyAdmin | 2.9.2-rc1 |
I installed Ruby & Rails a while ago, manually (ie I’m not running Locomotive)
The last 2 aren’t a “requirement” but I find it quite helpful vs running the mysql from the command line.
Step 1
Starting with the instructions (gasp!), I downloaded the source tree by opening a Terminal window, and making a folder called slsrc and running this command from my /~User/Desktop folder.
svn co http://svn.simplelog.net/trunk/ ./slsrc --username anonymous --password anonymous
Step 2
Instructions I keep my rails projects in subdirectories of ~/User/Sites/rbdev, so I moved the application there, and ran the following commands from terminal.
sudo chown User:www *
sudo chmod 755 log/
sudo chmod 755 theme_backup/
sudo chmod 755 public/dispatch.fcgi
This ensures the proper permissions (Note: In all of these examples I’ve replaced my username with User. Surely you figured that out on your own, though)
Next
I opened up Safari and went to my local phpMyAdmin and created the database and user.
I edited the config/database.yml file to match my config.
Even more step 2
At this point, running rake simplelog:install failed miserably. I had several issues. The first thing I tried was wiping my slsrc folder, and re-downloading from the website (instead of svn). Which did absolutely nothing.
after scouring the SimpleLog Forum I was able to find the following article. So I deleted the vendor/rails directory and ran slam into a MySQL error.
This time trying to run rake simplelog:install died with Access denied for user ‘simplelog’@’localhost’ (using password: YES). After several different attempts (no password, short simple password, etc) I had an epiphany (thanks, boob lady) and clicked the Reload Permissions button in phpMyAdmin and everything worked fine.
The end of step 2
So now I had a fully functional, local copy of SimpleLog. Next step is to move everything to Godaddy. This is where the real fun started.
Comments
There are 0 comments on this post. Post yours →
Post a comment
Required fields in bold.