-
Notifications
You must be signed in to change notification settings - Fork 2.5k
deploy_manual
Before work of RAP deployment, you should get well prepared with things below:
- Eclipse/MyEclipse
- JDK 1.6+
- MySQL 5.6.12+
- Tomcat 6.*+
- Git
git clone git@github.com:thx/RAP.git
git checkout release
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 branch is always correct. Please focus on RAP wiki, when new release comes out, try to git pull from release branch. Every new release will have md file to tell you how to transfer.
powered by Bosn@Alimama MUX
-
WIKI Home
- What is RAP
- Quick Guide
- User Manual
- Deploy Manual
- Dev Manual(writing)
- Wiki主页 (中文版)