hrva07
(Hrva07)
September 17, 2012, 6:59am
1
Hi, I’m new here, so please don’t be mad at me
Yesterday I heard about Yii… And I want to try it.
How to create first application on server ?
I read this article:
http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app
but it says how to create application locally on my computer.
I don’t have MySql, Php and Appache locally installed.
I prefer to do everything about web programming on server.
So, how to create first application on server ?
You don’t have to describe it, just give me link or something
Thank You !!!
Actually this article is about installing anywhere, not only on local computer. You just have to read it more closely.
hrva07
(Hrva07)
September 17, 2012, 7:07am
3
Then I’ve got the problem
I use filezilla.
I go to yii/framework and type yiic webapp myapp
and it’s a “500 Unknown command”
hrva07
(Hrva07)
September 17, 2012, 7:32am
4
Obviously I am doing something "very wrong"…
Johannn
(Johanvanmeel)
September 17, 2012, 7:53am
5
Filezilla is not a server, it’s a FTP client.
What you can do is install XAMPP, it contains everything you need PHP/Mysql/PHPmyadmin etc then you can make your own webapp. Thefiles generated + the framework you can upload using Filezilla to your server.
Guessing you’ve someone hosting you website and not direct access to the server with Remote desktop for example.
alirz23
(Alirz23)
September 17, 2012, 12:29pm
6
I would suggest you to setup your local development environment first and develop the app locally and then deploy it
Mac has
MAMP
Windows has
xamp
wamp
linux has
xamp
and obviously you can install all of them from source
I can be too much of a newbie.
I set up yii on my xammpp and I can access and run the example app no problem
However the tutorial as documented as it might be
starts with
"Run yiic on the command line as follows:
% YiiRoot/framework/yiic webapp WebRoot/testdrive"
I tried this on window’s command line, and it just did nothing.
What’s the use of doing this? executing a sample app? I do not have a “testdrive” dir.
That leaves me stuck with how to follow http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app
and what i’m missing if I can’t seem to get the command line bid right.
I guess the quickstart is too quick for me.
On another note. I CAN see the code within the demos and file structure and the like. But I would need explanation to better understand the logic.
I found cake php documentantion an codeigniter documentation much clearer in these first steps.
nevertheless I would like to try this out.