Homeland open source forum system builds trial

Note: Need to use docker docker-compose

 
1. clone code
git clone https://github.com/ruby-china/homeland-docker.git
2. Basic configuration
app.local.env 配置例如:

app_name=网站名称
domain=your-host.com
# 默认 [email protected],你可以按你的需要修改,这里设置可以覆盖默认配置
[email protected]
3. Installation and use
make install # 安装基础服务
make start   # 启动web 应用
4. Common commands
make install	首次安装,创建数据库
make install_ssl	安装并申请 SSL 证书 (since: 2.5.0)
make update	更新应用程序,当 homeland/homeland 这个 Docker Image 版本变化的时候,需要执行,合并数据库、编译 Assets
make start	启动所有服务,将会自动启动所有的服务
make stop	停止所有服务
make restart	硬重启服务
make status	查看服务状态
make console	进入 Rails 控制台
make stop-all	停止所有服务,包括数据库
make reindex	重建搜索索引
 
5. Reference interface
6. References
https://github.com/ruby-china/homeland-docker.git
https://gethomeland.com/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325815090&siteId=291194637