创建 Spring Insight 模板
我在这里仅列出使用 Spring tcServer 开发人员版本创建 Spring Insight Web 应用程序的基本步骤。我还没有找到太多关于此的文档,所以它可以帮助一些人。
1 - 在此处下载 Spring 工具套件 下载 STS
将存档解压到计算机上的某个位置,打开终端并转到 ~/ tc-server-developer-[VERSION]/
2 - 运行以下命令
./tcruntime-instance.sh create -t Insight myInstance
这将根据模板创建一个新的 tcServer 实例洞察力。 (完整的模板列表可以在~/tc-server-developer-[VERSION]/templates/中找到)
转到~/tc-server-developer-[VERSION]/myInstance/ bin/ 并运行以下
./tcruntime-ctl.sh start
这将启动基于 Spring Insight 模板的 tcServer 实例。通过将您喜欢的浏览器指向 URL http://localhost:8080/insight
来检查它是否正常工作。这应该显示 Spring Insight 索引页面。
现在您只需将您的 Web 应用程序放入 ~/tc-server-developer-[VERSION]/myInstance/webapps/ 文件夹中,Bob 就是您的叔叔!
I am just listing here the basic steps to create a Spring Insight web application using Spring tcServer developer edition. I haven't found much doco regarding this, so it could help some people.
1 - Download Spring Tool Suite here
Download STS
Extract the archive somewhere on your machine, open a terminal and go to ~/tc-server-developer-[VERSION]/
2 - Run the following commands
./tcruntime-instance.sh create -t insight myInstance
This one creates a new tcServer instance based on the template insight. (full list of templates can be found in ~/tc-server-developer-[VERSION]/templates/)
Go to ~/tc-server-developer-[VERSION]/myInstance/bin/ and run the following
./tcruntime-ctl.sh start
This will start your tcServer instance based on the Spring Insight template. Check it is working by pointing your favourite browser to the URL http://localhost:8080/insight
. That should display the Spring Insight index page.
Now you just have to drop your web app in the ~/tc-server-developer-[VERSION]/myInstance/webapps/ folder and Bob's your uncle !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
还想提及如何从 IDE 进行设置,而无需执行任何命令行工作
假设您已经在 STS 中打开了一个 spring mvc 项目。这花了一段时间才找到,所以感谢您的发帖。
Also wanted to mention how to set this up from the IDE without having to do any command line work
Assuming you have a spring mvc project open already in STS. This took a while to find so thank you for posting.
您可以在此处找到更多详细信息:http://pubs.vmware.com/vfabric5/index.jsp?topic=/com.vmware.vfabric.tc-server.2.6/devedition/install.html&path=2_3_1_0< /a>
You can find more details here: http://pubs.vmware.com/vfabric5/index.jsp?topic=/com.vmware.vfabric.tc-server.2.6/devedition/install.html&path=2_3_1_0