Apache Usergrid

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(指南)
(图集)
第47行: 第47行:
 
<gallery>
 
<gallery>
 
image:mbaas-architecture.png|架构
 
image:mbaas-architecture.png|架构
image:mbaas-multi-tenancy-on-cassandra.png|on Cassandra
+
image:mbaas-multi-tenancy-on-cassandra.png|Cassandra
 +
image:usergrid-launcher.png|Launcher
 
</gallery>
 
</gallery>
  

2015年9月23日 (三) 14:01的版本

Apache Usergrid 是一个面向web和移动应用的多租户 Backend-as-a-Service 堆栈,基于 RESTful APIs,使用 Apache Cassandra 做后端存储。

目录

指南

确保已正确安装 Apache Cassandra下载usergrid包并解压

cd stack
mvn clean package -DskipTests=true
cd launcher; java -jar target/usergrid-launcher-*.jar
curl http://localhost:8080/status 
curl -X POST  \
        -d 'organization=myfirstorg&username=myadmin&name=Admin&[email protected]&password=password' \
        http://localhost:8080/management/organizations
curl 'http://localhost:8080/management/token?grant_type=password&username=myadmin&password=password' 

你也能以 tomcat webapp 的方式运行, 移除 tomcat/webapps/ROOT 下的内容,将 usergird/rest/ROOT.war 拷贝到这

cd tomcat/lib 创建 ____usergrid-custom.properties____

usergrid.sysadmin.login.allowed=true
usergrid.sysadmin.login.name=superuser
usergrid.sysadmin.login.password=pw123
[email protected]
[email protected]
usergrid.management.mailer=Myself<[email protected]>
[email protected]
usergrid.test-account.admin-user.password=test

数据库设置

http://localhost:8080/system/database/setup

管理员设置

http://localhost:8080/system/superuser/setup

控制台, 配置文件 usergrid-custom.properties

http://localhost:8080/usergrid-portal

开发者

用户

文档

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱