Closed Pishoy closed 4 years ago
i tested again with threebot.local_start_zerobot_default
, is started but can not access website, got 404
JSX> cl = j.servers.threebot.local_start_zerobot_default()
JSX> cl.actors.package_manager.package_add(git_url="https://github.com/enertia-io/www_enertia_io")
b'OK'
did same above steps and website loading is working but i have to restart lapis tmux process, can you fix that in code or any advice ?
also i have a question, how can i start two different websites on same threebot server ? i have use different static_location.path_url
but not work
j.servers.threebot.local_start_default()
There should be a package.toml
file in the base of the repo to be used which will have a similar structure(Edit it according to your repo) :
[source]
name = "PACKAGE_NAME"
description = "DESCRIPTION"
threebot = "THREEBOT_NAME_AUTHOR"
version = "1.0.0"
[actor]
namespace = "ACTOR_NAMESPACE eg: enertia-io"
[[bcdbs]]
namespace = "BCDB_NAMESPACE eg: enertia-io"
type = "zdb"
instance = "default"
j.threebot.actors.zerobot.package_manager.package_add(git_url="GIT_URL")
fixes: https://github.com/threefoldtech/jumpscaleX_threebot/commit/cb45c6efd4fdb84c4f3283b4ae71cfbf6db46c34 https://github.com/threefoldtech/jumpscaleX_threebot/commit/1a80715a6a8586cf1f1f317243c84263d6352196 https://github.com/threefoldtech/jumpscaleX_core/commit/62718df571dd73894cd54bb219a60d0e00004673
j.servers.threebot.local_start_default()
j.threebot.packages.zerobot.packagemanager.actors.package_manager.package_add(git_url="https://github.com/threefoldtech/jumpscaleX_threebot/tree/development/ThreeBotPackages/zerobot/alerta_ui")
jsx version