Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How do I set up a test environment locally on my Windows computer?

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49928

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
Nick, please point me in the right direction so I can set up a local test environment on my Windows computer. I definitely want to get more involved in the Joomla Community... and right now I'm only receiving emails from the Joomla Bug Squad. Not sure what else I need to do or where to go, etc.

Thanks!
Pat
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49931

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16726
  • Thank you received: 371
  • Karma: 54
Hi Pat,

I'd be glad to help!

OK, first off, do you have a localhost server set up yet? (e.g. WAMP, MAMP, XAMPP, etc)? If so, which one?

What operating system are you using (e.g. Windows or Mac OS)?

The easiest way to get started and get your toes wet is by using Tortoise:
docs.joomla.org/Tortoise_SVN

However, let's get the questions above answered before moving on to Tortoise.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49935

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
Hi, Nick.

I have a Windows 7, 64-bit laptop, and no localhost server set up on it. This is a fresh install.

Pat
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49938

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16726
  • Thank you received: 371
  • Karma: 54
Hi Pat,

OK, in that case, set up WAMP :)

Here's our tutorial for Local Installation on a PC using WAMP:
www.ostraining.com/courses/session/jooml...nstallation-on-a-pc/

Here's how you can create a test copy of your live site to your WAMP installation (just create a subfolder in the www folder of WAMP):
www.ostraining.com/blog/joomla/test-site-akeeba-backup/

Here's how you can start testing patches on WAMP using Tortoise (just create another subfolder of the www folder of WAMP):
docs.joomla.org/Tortoise_SVN

I hope this helps! Let me know if you have any questions.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49946

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
Nick, I went to download WAMP, and saw I had about five different versions to choose from. I selected WAMP server (64 bits & PHP 5.3) 2.2E. I downloaded it, installed it, and it was in my tray in the lower right of the screen. I turned it on, started all services, and clicked on LocalHost. This took me to a 403 Forbidden page.

What did I do wrong? I'm not going on to the next step until I get this LocalHost viewable.

Thanks,
Pat
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49947

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
One more detail, when I did the install, it asked what was my default browser, and I let it use the standard it used, internet explorer. But my default browser is firefox. I don't see where I can change this. Could this be causing the 403 Forbidden error?

Thanks,
Pat
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49948

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3944
  • Thank you received: 133
  • Karma: 9
Hi Pat,

Here is a tutorial on working with the 403 forebidden error with WAMP:
stackoverflow.com/questions/8204902/wamp-403-forbidden-message

Also, your browser message asking your default browser shouldn't affect anything.

Let me know if this helps.
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49949

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
Hi, Tessa!

I found the files that are mentioned in the link you sent me. Do I remove all the text between the tags so it looks like this:
<Directory "c:/wamp/www/">

AllowOverride All
Order allow,deny
Allow from all

</Directory>

and
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">

AllowOverride All
Order allow,deny
Allow from all

</Directory>

If so, I modified the files like this, then restarted all services, clicked on LocalHost, and received an error message:
There was a problem sending the command to the program.

Perhaps I didn't edit the files correctly, in which case please tell me what I did wrong.

Thanks!
Pat
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49950

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
P.S. I tried method #2, but of course I couldn't save the file. I am the only administrator on this computer so I don't know why I couldn't save it... back to Plan #1.
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49951

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
P.P.S. When I type 127.0.0.1 into my url bar, I do see the localhost server screen. So I know it's there, and what you've given me to do is spot on.
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49953

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3944
  • Thank you received: 133
  • Karma: 9
Hi Paul,

That is your config file for phpmyadmin, did you do this for your apache config file as well?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49959

  • patvb
  • patvb's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 49
  • Thank you received: 1
  • Karma: 0
I figured out what I did wrong. Here is the snippet for httpd.conf (Apache's config file):
<Directory "c:/wamp/www/">
    Options Indexes FollowSymLinks
       AllowOverride All
          Order allow,deny
          Allow from all
</Directory>

and PHPMyAdmin access, the config file is phpmyadmin.conf :
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
       Order allow,deny
       Allow from all
</Directory>

There was a lot of commenting, and I missed a few lines... and now it's working.

On to the next step!

Thanks, Tessa.

Please become a member of OSTraining to reply to this post.

How do I set up a test environment locally on my Windows computer? 10 months 3 weeks ago #49961

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3944
  • Thank you received: 133
  • Karma: 9
Hi Pat,

You are welcome! I am glad OSTraining was able to lead you toward the right direction. :-)
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.
  • Page:
  • 1

Sign Up for OSTraining

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.