Skip to content

v1.0.0-alpha

Latest
Compare
Choose a tag to compare
@chenghuaWang chenghuaWang released this 21 Dec 09:01
· 1 commit to main since this release

After a long battle of wits with bugs in our code. The version 1.0.0-alpha finally released.

There r some options u need to set first before running cb-server.

  • webPort The port of web server, default to 8888.
  • webRoot The root dict of web server, default to ..
  • httpPort The backend http server port, default to 8080.
  • execSec Interval between graphs starts, default to 10.
  • redisHost The host ip of redis server, DNS is not support, no default.
  • redisPassword The password of redis server, no default.
  • redisPort The port of redis server, no default.
  • redisDBNum The database number of redis server, default to 1.
  • redisSSL If using SSL on redis connection, default to 0(True=1, False=0).

All options can be gave to cb-server using POSIX style cmd.

cb-server --redisHost x.x.x.x --redisPort 6379 --redisDBNum 1 --redisPassword no

If everything is ok, you will get the message in terminal like this:

Licensed under the Apache License, Version 2.0 (the " License ")
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an " AS IS " BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Welcome to CovalentBond.
**************************************************
[ info ] Backend listener start at port 8080.
[WFREST] GET    /table_at_graph
[WFREST] POST   /add_graph
[WFREST] POST   /add_device
[ info ] Get the ./index.html file. Start HTTP server at http://localhost:8888/index.html
[ info ] Press ^C to stop server.
[ info ] server successfully started.

🔔 The Binary version will coming soon after testing in v1.0.0🔔