Yii Framework Forum: How To Create Project Setup In Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Create Project Setup In Yii How to create project setup in Yii Rate Topic: -----

#1 User is offline   Sonal Gundecha 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 05-October 12

Posted 08 October 2012 - 05:27 AM

I want to know is it possible to create exe ...ie setup file of a project in yii??
0

#2 User is offline   Gustavo Andrade 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 122
  • Joined: 16-August 11
  • Location:Brazil - MG

Posted 08 October 2012 - 07:08 AM

View PostSonal, on 08 October 2012 - 05:27 AM, said:

I want to know is it possible to create exe ...ie setup file of a project in yii??



Hi,

Can not create an EXE. Yii Framework (PHP) is for Web App
0

#3 User is offline   Keith 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,601
  • Joined: 04-March 10
  • Location:UK

Posted 08 October 2012 - 08:34 AM

You could write some sort of script to set things up how you like. It's not really a Yii specific thing though.

I've written a Linux shell script which is stored along with the code in git. It purges the test database and recreates it with specific test data. It also clears down image directories and repopulates them with images related to the database content.

For the most part, setting up a Yii project is just a matter of copying a folder structure. Distributing the project in a zip file and simply unzipping it at the other end should do the trick. You could write a script to manage this unpacking if you really wanted something executable.
0

#4 User is offline   Sonal Gundecha 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 05-October 12

Posted 09 October 2012 - 11:27 PM

View PostKeith, on 08 October 2012 - 08:34 AM, said:

You could write some sort of script to set things up how you like. It's not really a Yii specific thing though.

I've written a Linux shell script which is stored along with the code in git. It purges the test database and recreates it with specific test data. It also clears down image directories and repopulates them with images related to the database content.

For the most part, setting up a Yii project is just a matter of copying a folder structure. Distributing the project in a zip file and simply unzipping it at the other end should do the trick. You could write a script to manage this unpacking if you really wanted something executable.





Thanks for the quick replies, I got the solution you gave , trying to implement that .
But then how to keep the folders hidden from the client so that they do not change the source codes, and also steps to deploy the application on client side and is the xampp needed on client side??
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users