Root
Root - Meanstack based productivity
Install / Use
/learn @linnovate/RootREADME
Root App
Setup
Development
sudo sysctl -w vm.max_map_count=262144
npm i
npm run build
docker-compose up -d
Test
npm test [url]
If url is not specified, then a local instance will be started.
Deploy
docker-compose -f docker-compose.production.yml up -d
Or use helm-based deployment:
- Git clone https://github.com/linnovate/reopen repo
- Switch to aks2-prod kube context
- Install root-app helm chart
helm upgrade -i root-app charts/root/ -f charts/root/values.yaml -n argos-prod --atomic
- In argos-prod namespace, inside mongodb pod:
mongo
> use admin
> db.createUser(
{
user: "admin",
pwd: "<password>",
roles: [
{ role: "userAdminAnyDatabase", db: "admin" },
{ role: "readWriteAnyDatabase", db: "admin" }
]
}
)
5. Restart *root-app* deployment to reconnect to the db
## Environments
Name | Type | Description | Default
--- | --- | --- | ---
PORT | Number | Port of the server | `3000`
HTTPS | Boolean | Use HTTPS | `false`
HTTPS_KEY_PATH | String | Path to key file | `undefined`
HTTPS_CERT_PATH | String | Path to cert file | `undefined`
ROOT_LANG | String | `en`\|`he` | `en`
AUTH_PROVIDER | String | `local` \| `google` | `local`
GOOGLE_CLIENT_ID | String | Google client ID | `APP_ID`
GOOGLE_CLIENT_SECRET | String | Google client secret | `APP_SECRET`
MONGODB_URI | String | URI of MongoDB | `mongodb://localhost/icu-dev`
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
