My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
20_InstallationFromSVN  
(DRAFT) Installation instructions for working with the phpShop 2.0 code in SVN
Updated Feb 4, 2010 by edikon

Introduction

This document is incomplete. Working on it still... This guide explains how to install phpShop 2.0 as it is currently in the source code repository. It is important to point out that the code in SVN is simply the application code. You still need to install the CakePHP library in order to get it to work correctly. Instructions follow:

Details

In order to install phpShop 2.0 you will need to follow 3 primary steps:

  • Download CakePHP 1.2
  • Checkout phpShop 2.0 code from SVN
  • Run installer

Download CakePHP

  1. Download CakePHP 1.2 by visiting: http://cakeforge.org/frs/?group_id=23. Be sure to grab the most recent version of CakePHP 1.2.
  2. Uncompress CakePHP inside your web directory. This will create a folder along the lines of cake-1.2...something/
  3. unzip cake-1.2.XXX.zip
  4. Rename the folder to phpshop/ (or whatever you prefer; for the purposes of this guide, we use phpshop/).
  5. mv cake-1.2/ phpshop/
  6. Remove the app/ folder inside the phpshop/ directory.
  7. rm -rf phpshop/app

Checkout phpShop 2.0 from SVN

  1. Change to the phpshop/ directory.
  2. cd phpshop/
  3. Checkout app/ folder from SVN.
  4. svn checkout https://phpshop.googlecode.com/svn/trunk/phpshop2/app app
  5. Run the set_permissions.sh script.
  6. # sh app/set_permissions.sh
  7. Open browser and point to the installation folder.
  8. Launch installation. Follow instructions.

Installation

  1. The installer checks that requirements are met.
  2. The installer checks if database exists, if not gives you the option to create it.
  3. You must have a database with a user/password that has access to it.
  4. The installer will create tables with demo data.
  5. The installer will create the configuration file and write it directly to disk.
  6. You are done. Happy testing!
Comment by jonathan...@hotmail.com, Dec 10, 2008

Hello, what is password and login svn

Comment by andre.al...@gmail.com, Jan 3, 2009

use this line ... without SSL Security

svn checkout http://phpshop.googlecode.com/svn/trunk/phpshop2/app app

Comment by cool2sv@gmail.com, Feb 21, 2009

Can you please remove docs and examples folders from the webroot/js/yui Those are absolutely useless, just takes too long when svn co-ing. Thanks.

Comment by cqy0...@gmail.com, Mar 22, 2009

What is svn username and password? I want to checkout in WIN ,need the username and password.

Comment by neon1024, Apr 17, 2009

LOGIN!

There is a typo in the instructions! As per the comment by Andre you will need to change HTTPS to HTTP in order to be able to checkout the code.

Fab looking project though, going to give it a try with a project I have :)

Comment by jasonzha...@gmail.com, Apr 1, 2010

sorry, The whole instruction does not work. I configured my apache and mapped phpshop directory to http://localhost/phpshop. After I browse to http://localhost/phpshop. It said database does not exist and ask me to install right now. The "Install right now" URL is http://localhost/phpshop/install which does not exist. I changed the URL to http://localhost/phpshop/index.php/install. I got to the database creation page. But this step failed again. There are two much errors.

Comment by seogrupseo, Jul 27, 2010

pena que haya cerrado


Sign in to add a comment
Powered by Google Project Hosting