- Docker (v20.10.0 或更高)
- Docker Compose (v1.27.4 或更高)
docker/images/
文件夹内提供的 Elaina 所支持的编程语言运行环境。
在运行 Elaina 前,请使用 docker pull
命令从 DockerHub 拉取这些镜像。该操作只需执行一次即可。
docker pull elainaruntime/golang
docker pull elainaruntime/php
docker pull elainaruntime/python
docker pull elainaruntime/javascript
git clone [email protected]:wuhan005/Elaina.git
# 编译前端
cd frontend/ && yarn install && yarn build
# 编译后端
go build .
Postgres 数据库配置。
export PGPORT=5432
export PGHOST=<REDACTED>
export PGUSER=<REDACTED>
export PGPASSWORD=<REDACTED>
export PGDATABASE=<REDACTED>
export PGSSLMODE=disable
# 设置 Web 管理面板的密码
export APP_PASSWORD=<REDACTED>
./Elaina
浏览器访问 http://<your-host>:8080/m/
来登录管理员面板。
MIT