WordPress.org

Make WordPress Core

Ticket #24081: tutorial.php

File tutorial.php, 2.6 KB (added by ryansatterfield, 8 years ago)

A tutorial to the five minute setup. It currently only covers Cpanel options. I didn't feel like putting in the MYSQL code.

Line 
1<!DOCTYPE html>
2<html xmlns="http://www.w3.org/1999/xhtml"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5<title><?php _e( 'WordPress &rsaquo; Setup Configuration File' ); ?></title>
6<link rel="stylesheet" href="css/install.css?ver=<?php echo preg_replace( '/[^0-9a-z\.-]/i', '', $wp_version ); ?>" type="text/css" />
7<link rel="stylesheet" href="../wp-includes/css/buttons.css?ver=<?php echo preg_replace( '/[^0-9a-z\.-]/i', '', $wp_version ); ?>" type="text/css" />
8
9</head>
10<body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>">
11<h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1>
12
13<p><?php _e( 'Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.' ) ?></p>
14<p> <?php _e('Nearly Every Web Host allows you to have databases. If your host provided you with cPanel, go to phpmyadmin, click the tab that says databases and where it says create database type the name you want for your database. Your host may prefix the first 7 characters of your website address or account name to your database with an underscore, like example_database.'); ?></p> 
15<p> <?php _e('If you are using PHP myadmin and there is a privileges tab, then click it. Once you are there fill out the username you want and then put the host as localhost and put a strong, unique password'); ?></p>
16 <p> <?php _e('You may also use mysql database wizard in Cpanel and type in the name you want for your database. Please write down the characters after new database, because you will need to put that with your database name. We willl cover that more later.') ?> </p>
17<p><?php _e('Once you have put in a database username click the button that says next step. Now it will ask you to create a database user that has the same characters prefixed next to it, just like the database name did. Make a database username and type it in.') ?> </p>
18<p><?php _e('Now create a strong password and retype it if asked. You need to remember all this information for later on in the setup process!') ?> </p>
19<p><?php _e('Now you see a page that has a bunch of checkboxes and the words all privileges. Check off the box that says all privileges. Please click next step.') ?> </p>
20<p><?php _e('This part of the process is over! You now have the database name and username on the screen. Go back to the WordPress setup and type in the database name, username, and password, respectively and submit the info and go to the next page. It should be easy sailing from here on out.') ?> </p>
21</html>
22</body>