JeeWx (Jie Wei) Baidu BAE deployment document, jeewxbae

Source: Internet
Author: User

JeeWx (Jie Wei) Baidu BAE deployment document, jeewxbae

JeeWx (micro) Baidu BAE deployment document

Preparations before start

1. WAR package

 

:
Link: http://pan.baidu.com/s/1bnlcsk3 password: 592i

 

Download war package and SQL script file for deployment

2. Register a Baidu account

 

Http://developer.baidu.com/cloud/rt

 

Register the Baidu developer account. You need to bind a mobile phone number.

 

After registering, select the developer service and click Create application.

 

Create an application

 

After the project is created, the following page is displayed.

 

Click View domain name to view the demo instance

 

The classic hello world output on the page indicates that you have configured the deployment environment of the BAE server.

 

Now you need to upload the WAR package of the program you want to deploy and create a database.

 

 

 

 

The SVN installation process is not described in this document. SVN is installed by default.

 

 

Files detected from the BAE

 

 

. Bae

 

The provided release packages include;

Download and decompress the package. Upload the. bae folder to the server. (open the. bae folder and you can see that it is the configuration file in the tomcat/conf file)

Now we can modify the war package of our program.

Open the war package of jeewx in ZIP format.

FindDbconfig. properties

 

OpenDbconfig. propertiesThis is the configuration file for configuring the database link.

 

Red box shows the database address and user name and password to be configured.

 

At this time, you need to go back to the BAE to create a database. :) do you want to say--= is set up at the beginning of Mao. = #

 

 

 

Click Add Service

 

 

Select mysql

 

 

 

Click phpmyadmin to import the SQL statement.Input

 

 

 

Then OK.

 

Let's look back at this time.Dbconfig. properties: Replace the Database Name of the database you just created.

The user name and password are

 

Username in Basic Information:API KeyPassword:Secret Key

Overwrite your own program (jeewx) war package \ WEB-INF \ classes after modification

 

Upload all files and folders to the server through SVN

 

 

After the upload is successful. You can see quick release under BAE.

 

 

 

At this time, access the previously configured domain name to access your deployed project.





Related Article

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.