Running opentaps/OFBiz

This short guide is designed to help you get started with opentaps/OFBiz.
Prerequisites

Before you can start running and using opentaps/OFBiz, you will need to download and install Java 1.4 (Java 1.3 or 1.5 will not work.)

If you plan on building opentaps or OFBiz from the source code, you will also need Apache Ant version 1.6 or better. Make sure you have version 1.6+. Some versions of Linux come with Ant 1.5 pre-installed. Those will not work.

Finally, if you wish to be able to check out the OFBiz source code, you will need Subversion.
Downloading and Building

First, get a current copy of opentaps or OFBiz. If you are looking for a relatively stable production version, download opentaps from SourceForge.net. If you are a developer looking for the latest version, you can use subversion to download the latest OFBiz source code or download a weekly build.

If you have either the opentaps download or the OFBiz weekly build, you just need to unzip it. If you downloaded the OFBiz source code, go to your new ofbiz directory to build it and install the seed and demo data:

$ ant run-install

or, if you are using Windows and assuming that you installed ant in c:\ant:

C:\ofbiz> c:\ant\bin\ant run-install

from a Windows command line shell.
Getting It Started

Your copy of opentaps or OFBiz comes with embedded servers and databases, so running it is very simple.

To run the opentaps or OFBiz server, which runs all the applications except Point Of Sales, go to your new opentaps or ofbiz directory and type:

$ ./startofbiz.sh
$ tail -f logs/console.log

or from Windows:

C:\ofbiz> startofbiz.bat

Note that the log file is directly displayed in the shell window in Windows but saved to logs/console.log in Unix/Linux systems, hence the need for the tail command.

Now open up a browser and type into the navigation bar:

http://localhost:8080/ordermgr/control/main

You will be prompted for a username and password. For the demo, use "admin" for username and "ofbiz" for password. You should be logged in and see this screen. Now you can start exploring opentaps/OFBiz.

To run the POS terminal instead, do the following from your ofbiz directory, in either Windows or Unix/Linux:

$ java -jar ofbiz.jar -pos

You will first see a logo and then the POS terminal show up. Type in "1" for the username and "1" for the password to log in as the manager.

本文转自http://www.opensourcestrategies.com/ofbiz/running_ofbiz.php
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值