Posts

Showing posts from January, 2014

develop log–simple git log 简单使用日志

1.init environment -- 初始化 1.1 init -- 初始化 git init 1.2 clone -- 克隆 git clone ssh://pkrss@pkrss.my.phpcloud.com/gitprojects/container-root.git 2.add git server 2.1add remote depositary -- 添加远程仓库 git remote add phpcloud ssh://pkrss@pkrss.my.phpcloud.com/gitprojects/container-root.git git remote add cdsn git@code.csdn.net:pkexa/pkexa.git 2.2 show remote depositary list -- 查看已添加的远程列表 git remote 2.get code 2.1 pull code -- 拉代码 git pull phpcloud master this will get ssh://pkrss@pkrss.my.phpcloud.com/gitprojects/container-root.git depositary master branch.and local depositary name is origin. -- 它拉取ssh://pkrss@pkrss.my.phpcloud.com/gitprojects/container-root.git 仓库 master 分支.本地仓库名为origin. 2.2 commit to git local cache -- 将修改的代码提交到本地缓存 git commit –am "change some code log" 2.3 push local cache to server -- 将本地的缓冲提交到服务器 git push phpcloud master:master -- or 或者 git push phpcloud master -- or 或者 git push phpcloud 3.branch -- 分支 3.1 local branch -- 本地 3.1.1 create branch -- 创建分支 create...

free web host cloud introduct – 2 phpcloud

Image
2.phpcloud 2.1 introduct url: http://www.phpcloud.com/ by zend 2.2 screenshot 2.2.1 default page: 2.2.2 login here: 2.2.3 login default console page: 2.2.3.1 console –> access key: 2.2.3.2 console –> My Containers: 2.2.3.2.1 console –> My Containers –> Create Container: 2.2.4 console –> your app(pkrss): 2.2.4.1 PHP Cloud –> Management: 2.2.4.2 PHP Cloud –> Snapshots: 2.2.5 Overview 2.2.5.1 Overview –> Dashboard: 2.2.5.2 Overview –> Events:   2.2.5.3 Overview –> Code Tracing: 2.2.5.4 Overview –> Job Queue: 2.2.5.5 Overview –> Server Info: 2.2.5.6 Overview –> Logs: 2.2.6 Application 2.2.6.1 Application –> Apps: 2.2.6.2 Application –> Libraries: 2.2.6.3 Application –> Monitoring Rules: 2.2.6.4 Application –> Caching Rules: 2.2.6.5 Application –> Job Rules: 2.2.7 Configurations 2.2.7.1 Configurations –> Components: 2.2.7.2 Configurations –> PHP: 2.2.7.3 Configurations –>...

free web host cloud introduct

Image
1.openshift 1.1 introduct url: http://openshift.redhat.com by redhat 1.2 screenshot 1.2.1 default page: 1.2.2 my apps –> application: myapps –>application –> php – c.pkrss.com: myapps –>application –> php – c.pkrss.com –> change alias: myapps –>application –> php – c.pkrss.com –> change alias –> add alias: 1.2.3 my apps –> setting: 1.2.4 my apps –> help: 1.2.5 my apps –> add application: 1.2.5.1 my apps –> add application –> java: 1.2.5.2 my apps –> add application –> php: 1.2.5.3 my apps –> add application –> ruby: 1.2.5.4 my apps –> add application –> python: 1.2.5.5 my apps –> add application –> node.js: 1.2.5.6 my apps –> add application –> perl: 2. my said i used git commit code to it. openshift support 1 free web application. i done: 1.web background setting,ex: setting ssh key... 2.import php code by git to server. 3.change my php pdo connection code mysql pdo connect ion string. local communtion used $_S...