Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #154 from c9/wordpress_doc
Browse files Browse the repository at this point in the history
Great start! Merging.
  • Loading branch information
Ivar Pruijn committed Jan 21, 2015
2 parents d5ac333 + d06d823 commit f51612f
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 12 deletions.
Empty file removed out/.git_placeholder
Empty file.
31 changes: 20 additions & 11 deletions out/writing_a_php_app.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Writing a PHP App | Cloud9 User Documentation</title>
<link href="./assets/min/styles.css" rel="stylesheet" type="text/css">
<link rel="icon" type="image/x-icon" href="./assets/img/favicon.ico">
<link href="./assets/stylesheets/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<link href="./assets/stylesheets/font-awesome.css" rel="stylesheet" type="text/css" media="all">
<link href="./assets/stylesheets/docs.css" rel="stylesheet" type="text/css" media="all">
<link href="./assets/stylesheets/default.css" rel="stylesheet" type="text/css" media="all">
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css">
</head>
<body>
Expand Down Expand Up @@ -61,7 +63,11 @@
<!-- a(href='git_blame.html') Git Blame-->
<!-- li.nav-submenu-item-->
<!-- a(href='zen_mode.html') Zen Mode-->
<li class="nav-submenu-item"><a href="custom_runners.html">Custom Runners</a></li>
<li class="nav-submenu-item"><a href="custom_runners.html">Custom Runners</a>
<ul>
<li class="nav-submenu-item"><a href="java_runner.html">Making a Java Runner</a></li>
</ul>
</li>
</ul>
</li>
<li class="nav-section">
Expand Down Expand Up @@ -134,8 +140,13 @@
<li class="nav-section">
<div class="nav-section-header"><a href="javascript:void(0)">Database and Persistence</a><i class="icon-chevron-down tocNavArrow"></i><i class="icon-chevron-up tocNavArrow"></i></div>
<ul>
<li class="nav-submenu-item"><a href="setting_up_mysql.html">Using MySQL</a></li>
<li class="nav-submenu-item"><a href="setting_up_mysql.html">Using MySQL</a>
<ul>
<li class="nav-submenu-item"><a href="setting_up_phpmyadmin.html">Using PHPMyAdmin</a></li>
</ul>
</li>
<li class="nav-submenu-item"><a href="setting_up_mongodb.html">Using MongoDB</a></li>
<li class="nav-submenu-item"><a href="setting_up_couchdb.html">Using CouchDB</a></li>
<li class="nav-submenu-item"><a href="setting_up_postgresql.html">Using PostgreSQL</a></li>
<li class="nav-submenu-item"><a href="setting_up_redis.html">Using Redis</a></li>
<li class="nav-submenu-item"><a href="setting_up_sqlite3.html">Using SQLite</a></li>
Expand All @@ -146,10 +157,6 @@
<ul>
<!-- li.nav-submenu-item-->
<!-- a(href='deploying_code.html') Deploying Your Code-->
<!-- li.nav-submenu-item-->
<!-- a(href='deploying_to_heroku.html') Deploying to Heroku-->
<!-- li.nav-submenu-item-->
<!-- a(href='deploying_to_windows_azure_sites.html') Deploying to Windows Azure Sites-->
<li class="nav-submenu-item"><a href="deploying_via_cli.html">Deploying via the Command Line</a></li>
</ul>
</li>
Expand All @@ -167,6 +174,7 @@
<li class="nav-submenu-item"><a href="frameworks_laravel.html">Laravel</a></li>
<li class="nav-submenu-item"><a href="frameworks_meteor.html">Meteor</a></li>
<li class="nav-submenu-item"><a href="frameworks_symfony2.html">Symfony</a></li>
<li class="nav-submenu-item"><a href="frameworks_wordpress.html">Wordpress</a></li>
</ul>
</li>
<li class="nav-section">
Expand All @@ -187,7 +195,7 @@
<div id="content">
<div id="toh_btn" onclick="toggleTOH(this)"></div>
<h1>Writing a PHP App</h1>
<div><p>With Cloud9 IDE, you can run your PHP pages, without relying on a third-party system like Apache hosting. We run PHP version 5.5.9.</p>
<div><p>With Cloud9 IDE, you can run your PHP pages, without relying on a third-party system like Apache hosting. We run PHP version 5.3.3.</p>
<p>You can choose to run PHP scripts via the command line, by typing <code>php</code>, followed by the name of your PHP file. However, this is not a very common use case. Most likely, you&#39;ll be running your own server and hosting PHP files.</p>
<p>Here&#39;s a simple demonstration. First, create a PHP file called <em>hello_world.php</em>, and paste this code into it:</p>
<pre><code class="language-xml"><span class="tag">&lt;<span class="title">html</span>&gt;</span>
Expand Down Expand Up @@ -218,12 +226,13 @@ <h2 id='modifying-phpini'><a class='heading_anchor' href='#modifying-phpini'><i
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
<script src="./assets/min/javascripts.js" type="text/javascript"></script>
<script src="./assets/javascripts/bootstrap.js" type="text/javascript"></script>
<script src="./assets/javascripts/docs.js" type="text/javascript"></script>
</div>
<div class="push"></div>
</div>
<footer>
<iframe id="footer_iframe" height="290px" width="100%" src="" scrolling="no" frameborder="0"></iframe>
</footer>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion recentFiles.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"filename":"java_runner","mtime":1421767722000,"pageTitle":"Java Runner"},{"filename":"deploying_code","mtime":1421766901000,"pageTitle":"Deploying Your Code"},{"filename":"deploying_via_cli","mtime":1421766795000,"pageTitle":"Deploying via the Command Line"},{"filename":"frameworks_jekyll","mtime":1421763461000,"pageTitle":"Framework: Jekyll"},{"filename":"setting_up_redis","mtime":1421763157000,"pageTitle":"Redis"}]
[{"filename":"frameworks_wordpress","mtime":1421858826000,"pageTitle":"Getting Started with Wordpress"},{"filename":"deploying_code","mtime":1421769253000,"pageTitle":"Deploying Your Code"},{"filename":"java_runner","mtime":1421769253000,"pageTitle":"Java Runner"},{"filename":"frameworks_jekyll","mtime":1421769253000,"pageTitle":"Framework: Jekyll"},{"filename":"deploying_via_cli","mtime":1421769253000,"pageTitle":"Deploying via the Command Line"}]
18 changes: 18 additions & 0 deletions src/frameworks/frameworks_wordpress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Getting Started with Wordpress

Wordpress was made to be simple and Wordpress on Cloud9 is no different. Here are some key docs to getting started with Wordpress.
### Run & preview your WordPress site

- [Running WordPress sites](https://docs.c9.io/running_wordpress_on_cloud9.html)
- [Preview your site](https://docs.c9.io/run_an_application.html#pre-view-your-application)

### Build & access your database

- [PHP documentation](https://docs.c9.io/writing_a_php_app.html)
- [Using MySQL](https://docs.c9.io/setting_up_mysql.html)
- [phpMyAdmin](https://docs.c9.io/setting_up_phpmyadmin.html)

### Deployment

- [Deploying your site](https://docs.c9.io/deploying_via_cli.html)
- [Mounting FTP](https://c9.io/site/blog/2014/12/ftp-sftp-mounting-beta)
2 changes: 2 additions & 0 deletions templates/default/toc.jade
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@
a(href='frameworks_meteor.html') Meteor
li.nav-submenu-item
a(href='frameworks_symfony2.html') Symfony
li.nav-submenu-item
a(href='frameworks_wordpress.html') Wordpress
li.nav-section
.nav-section-header
a(href='javascript:void(0)') FAQ
Expand Down

0 comments on commit f51612f

Please sign in to comment.