-
Notifications
You must be signed in to change notification settings - Fork 0
deploy_manual
Table of Contents generated with DocToc
Before work of RAP deployment, you should get well prepared with things below:
- Eclipse/MyEclipse
- JDK 1.7+
- MySQL 5.6.12+
- Tomcat 6.*+
- Git
git clone [email protected]:thx/RAP.git
git checkout release_en
Ensure you switched to branch [release_en], we keep this branch always working correctly.
eg-> In MyEclipse, right click in Package Explorer
-> Import
-> Existing Projects into Workspace
Imports RAP into your workspace.
Execute src/database/intialize.sql
,this file contains database objects construction, and essential data.
Please config src/mysql.local.properties
, contains database's username/password, path/port, etc.
Open project properties(Properties), Properties
-> MyEclipse
-> Web
-> Web Context-root
changed to /ROOT.
For Eclipse, Properties
-> Web Project Settings
-> Context Root
, changed to ROOT
For other IDEs, please ensure RAP is deployed in ROOT
After complete steps above, start tomcat.
What do you need to do is follow the User Manual to explorer RAP!
In database table tb_corporation
, cause this data rarely changes, you can just write SQL to manage.
add record into the database table tb\_role\_and\_user
user_id
is admin's userId,role_id
1(super admin), 2(admin)
This is used for environment switch, you can config local database and remote database, when you want to switch, just alter file src/applicationContext.xml
, search mysql.*.properties than change it.
We'll ensure release_en branch is always correct. Please focus on RAP wiki, when new release_en comes out, try to git pull from release_en branch. Every new release_en will have md file to tell you how to transfer.
-
WIKI Home
- What is RAP
- Quick Guide
- User Manual
- Deploy Manual
- Dev Manual(writing)
- Wiki主页 (中文版)
- 版本需求/设计文档