How to upload files and modify templates online in the Sina SAE

Source: Internet
Author: User
Keywords Sina SAE

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

We are talking about how to build a station in the Sina SAE, today we will explain how to upload the file. Sina SAE is not allowed to upload with FTP. We can only use the dedicated tools it provides, we take SVN as an example to tell.

First, we're going to download an SVN tool. Download installation

TortoiseSVN Download: http://dl.pconline.com.cn/download/53122.html

The installation process is not much to say.

When the software is installed, all we have to do is:

Create a local working directory (folder)

Create a folder on the local disk, name random, you can use the new application name for the file name, such as: Shenghongblog, see the following figure:

  

Second, download the site's source program (must, can not be omitted)

On the Shenghongblog folder, click the right button and pop up a menu, as shown below:

Click "SVN Checkout"

  

The following image appears: Fill in the Warehouse path in the pop-up page, here is: https://svn.sinaapp.com/shenghongblog/, other default parameters.

  

Click OK to show the following image:

  

Username Enter a secure mailbox, password the security password, these are your own settings, do not tell me that you do not know. Point "OK", basically completed the website data download. See figure below:

  

After the download is complete, we will be able to modify and upload the operation.

Third, the local change code

Using text editing software such as Notepad, WordPad, etc., you can also use professional Dreamweaver, edit any file, save the file icon will appear red exclamation, as shown:

  

The index.php has changed color. The next step is to upload the modified file. Right-click on the index.php file and the menu appears and choose SVN Commit, as shown in Figure 7:

  

Then fill in the Log on this update (log message), this is a must be filled (numbers, letters can be, is not empty) or upload will fail. Figure 8:

  

Click "OK", and then appear the following figure:

  

Username Enter secure mailbox, password the safe password. Then click "OK", wait a moment, upload success. See figure below:

  

Iv. adding files or folders

In WP we will add plug-ins or replace the template, which is to increase the operation of the file or folder. For file modifications, it's OK to upload only when you're done, but for new files, or files or folders that you copy in from other directories, you need to do an "add" step before uploading, adding a file or folder to your local working directory (in this case, Shenghongblog), Otherwise the SVN client does not recognize it. The specific operation is very simple, right click on the copied file or folder, the menu appears, as shown in Figure 10:

  

Click "Add" and it's OK. The following procedure is the same as the upload after the modified code above.

V. Modify code Online

Now the Sina SAE support to modify the code online, the specific operations are as follows:

First login to the Sina SAE, then click on the application you established, where we click on "Crimson Blog" as shown:

  

As shown in

  

Click on "code management" to see the following figure:

  

Click "Edit Code" to have a secure Authenticated dialog box or a secure password. See figure below:

  

Then click on "Security Verification", will return to the code management interface, click "Code Edit" again, the following figure appears:

  

Click on the left side of the file list of any one of the files, the right side will appear the specific contents of the file, we can then modify the. After the modification, click SAVE, as shown below:

  

The above is in the Sina sae how to upload files and modify the template data online throughout the process, I hope to help. This article from the SEO Lenovo China http://www.seolenovo.com/534.html, Welcome to reprint, please indicate the source.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.